Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.389/1.389, allocations: 288.4 MB / 303.6 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008503/0.0008503, allocations: 183.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.059/1.059, allocations: 205.4 MB / 0.631 GB, free: 9.812 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000739/0.000739, allocations: 94.3 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 13.06 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0006565/0.1465, allocations: 450 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000993/0.1475, allocations: 1.115 MB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.1476, allocations: 8 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1476, allocations: 3.938 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.1477, allocations: 7.922 kB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.148, allocations: 102.9 kB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.612e-05/0.1481, allocations: 99.75 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.1482, allocations: 4 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.1483, allocations: 43.89 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.1483, allocations: 31.84 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1484, allocations: 8 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.1484, allocations: 15.98 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.1485, allocations: 4 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1485, allocations: 65.53 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.357e-05/0.1486, allocations: 95.98 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1486, allocations: 0 / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1486, allocations: 0 / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.1486, allocations: 4 kB / 0.9822 GB, free: 25.16 MB / 0.6198 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.0003008/0.1489, allocations: 373.1 kB / 0.9826 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.149, allocations: 12.03 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.149, allocations: 38.75 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1491, allocations: 8.922 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.175e-05/0.1491, allocations: 184.1 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1492, allocations: 4.375 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.1492, allocations: 4.375 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.1493, allocations: 50.19 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1493, allocations: 7.938 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1493, allocations: 3.984 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1493, allocations: 4 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.1493, allocations: 11.98 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.1496, allocations: 332.8 kB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.1497, allocations: 34.52 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.1497, allocations: 12.92 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.1497, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.1498, allocations: 71.28 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1498, allocations: 0 / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.15, allocations: 73.62 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.15, allocations: 51.41 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.1501, allocations: 129.8 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1501, allocations: 25.7 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.1502, allocations: 92.05 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.1502, allocations: 7.906 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.1502, allocations: 4 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.1502, allocations: 326.8 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.1503, allocations: 35.98 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-05/0.1504, allocations: 54.56 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.1505, allocations: 92.2 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1505, allocations: 0 / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002051/0.1507, allocations: 163.2 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1507, allocations: 43.25 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1507, allocations: 0 / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1508, allocations: 4 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.1508, allocations: 0 / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1508, allocations: 4 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.151, allocations: 39.97 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.151, allocations: 7.984 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 5.669e-05/0.1511, allocations: 129.7 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1511, allocations: 3.906 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.1511, allocations: 11.91 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1511, allocations: 0 / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1512, allocations: 0 / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1512, allocations: 7.984 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.068e-05/0.1512, allocations: 181.5 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1512, allocations: 3.938 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/0.1513, allocations: 0 / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1513, allocations: 0 / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1513, allocations: 0 / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1513, allocations: 12.05 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1513, allocations: 0 / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/0.1514, allocations: 85.06 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.1514, allocations: 89.02 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1514, allocations: 4.219 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.1514, allocations: 7.984 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.1515, allocations: 0 / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1515, allocations: 4 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.1515, allocations: 99.64 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1515, allocations: 0 / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001869/0.1517, allocations: 20 kB / 0.985 GB, free: 21.89 MB / 0.6198 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002365/0.152, allocations: 0.6358 MB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1521, allocations: 135.3 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1521, allocations: 0 / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.1522, allocations: 19.98 kB / 0.9858 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1524, allocations: 20.09 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.1531, allocations: 0.6 MB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.582e-05/0.1532, allocations: 0.6887 MB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.1532, allocations: 4 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.1532, allocations: 19.42 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.1532, allocations: 0 / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3906/0.5439, allocations: 2.156 MB / 0.9892 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.544, allocations: 207.8 kB / 0.9894 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.04, allocations: 4 kB / 0.9894 GB, free: 17.45 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)