Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.317/2.317, allocations: 248.7 MB / 256.2 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 189.8 kB / 315.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.3 MB / 0.5662 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 90.53 kB / 0.6704 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.881e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.3 MB / 0.8841 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.923/1.127, allocations: 131.4 MB / 1.012 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/1.127, allocations: 72.7 kB / 1.013 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003305/1.13, allocations: 0.7585 MB / 1.013 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/1.13, allocations: 0 / 1.013 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.13, allocations: 0 / 1.013 GB, free: 6.574 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006775/1.131, allocations: 354.4 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/1.131, allocations: 8.031 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.992e-05/1.131, allocations: 0 / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/1.131, allocations: 174.9 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/1.131, allocations: 0 / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/1.131, allocations: 8.922 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.821e-05/1.131, allocations: 13.69 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/1.132, allocations: 44.56 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.132, allocations: 3.938 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/1.132, allocations: 0 / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.132, allocations: 4 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/1.132, allocations: 241.9 kB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1.132, allocations: 36.06 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/1.132, allocations: 15.3 kB / 1.014 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/1.132, allocations: 0 / 1.014 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/1.133, allocations: 66.98 kB / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/1.133, allocations: 0 / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002052/1.133, allocations: 56.62 kB / 1.014 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/1.133, allocations: 55.41 kB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/1.133, allocations: 104.6 kB / 1.014 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/1.133, allocations: 29.64 kB / 1.014 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/1.133, allocations: 83.7 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/1.133, allocations: 11.59 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/1.133, allocations: 4 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.133, allocations: 318.8 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/1.133, allocations: 15.25 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/1.133, allocations: 11.62 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/1.133, allocations: 7.625 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.133, allocations: 4 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001651/1.134, allocations: 72.59 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.134, allocations: 4 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.134, allocations: 4 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.134, allocations: 3.984 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.134, allocations: 19.98 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.134, allocations: 0.8594 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/1.134, allocations: 8 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/1.134, allocations: 3.984 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.134, allocations: 108.9 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001293/1.134, allocations: 56.94 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/1.134, allocations: 11.84 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/1.134, allocations: 4.344 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.134, allocations: 0 / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.134, allocations: 4 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.134, allocations: 3.953 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/1.135, allocations: 145.6 kB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.135, allocations: 0 / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.135, allocations: 11.98 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.135, allocations: 0 / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.135, allocations: 8 kB / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.135, allocations: 0 / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.135, allocations: 3.938 kB / 1.015 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/1.135, allocations: 84.44 kB / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/1.135, allocations: 81.02 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/1.135, allocations: 0 / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/1.135, allocations: 15.92 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/1.135, allocations: 15.67 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/1.135, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.44e-05/1.136, allocations: 87.38 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.605e-06/1.136, allocations: 0 / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002738/1.136, allocations: 11.94 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006147/1.136, allocations: 0.6223 MB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002031/1.137, allocations: 31 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.137, allocations: 0 / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/1.137, allocations: 19.66 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/1.137, allocations: 20 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/1.137, allocations: 101.2 kB / 1.016 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/1.138, allocations: 0.6885 MB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.096e-05/1.138, allocations: 0.5 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/1.138, allocations: 15.12 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/1.138, allocations: 0 / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/1.175, allocations: 1.117 MB / 1.018 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/1.176, allocations: 166 kB / 1.018 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.459, allocations: 0.875 kB / 1.018 GB, free: 1.137 MB / 0.6355 GB