Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.485/1.485, allocations: 287.4 MB / 302.6 MB, free: 8.234 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.0008526/0.0008527, allocations: 178.5 kB / 371.1 MB, free: 10.81 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.297/1.297, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007201/0.0007201, allocations: 89.23 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 16.48 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0008142/0.1638, allocations: 0.6496 MB / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1652, allocations: 1.259 MB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.1653, allocations: 4 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.557e-05/0.1654, allocations: 7.875 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.1655, allocations: 35.77 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.166, allocations: 213.5 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1663, allocations: 267.3 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1664, allocations: 45.53 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1665, allocations: 95.69 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.1666, allocations: 91.62 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.1667, allocations: 16 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.1668, allocations: 19.98 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.1668, allocations: 35.84 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.1669, allocations: 57.58 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1671, allocations: 247.6 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1671, allocations: 0 / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1671, allocations: 0 / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1671, allocations: 0 / 0.9817 GB, free: 25.06 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006285/0.1677, allocations: 0.5372 MB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1678, allocations: 12.03 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.1678, allocations: 38.73 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.1679, allocations: 24.75 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1681, allocations: 259.6 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1681, allocations: 12.38 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1681, allocations: 16.38 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.1685, allocations: 190.4 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1685, allocations: 3.938 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1685, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1685, allocations: 4 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.169, allocations: 171.8 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.1698, allocations: 0.8876 MB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.17, allocations: 177 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1703, allocations: 108.3 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1703, allocations: 4 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.1706, allocations: 207.4 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1706, allocations: 0 / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008026/0.1715, allocations: 341.4 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1715, allocations: 158.2 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1716, allocations: 207.7 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1717, allocations: 29.7 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.1717, allocations: 128.3 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1718, allocations: 31.55 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.1718, allocations: 4 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.1718, allocations: 326.8 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.1722, allocations: 135.9 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1725, allocations: 198 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.173, allocations: 334.9 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.173, allocations: 4 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007497/0.1738, allocations: 436.7 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.1738, allocations: 71.39 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1738, allocations: 4 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1738, allocations: 7.938 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.174, allocations: 31.97 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.174, allocations: 11.92 kB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.1744, allocations: 111.8 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.1745, allocations: 15.98 kB / 0.9867 GB, free: 19.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001143/0.1746, allocations: 143.5 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1746, allocations: 19.8 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.1747, allocations: 16.94 kB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1747, allocations: 7.938 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1747, allocations: 4 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1747, allocations: 0 / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1748, allocations: 245.5 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1748, allocations: 4 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.175, allocations: 35.91 kB / 0.9872 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.175, allocations: 4 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.175, allocations: 7.938 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.175, allocations: 11.94 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.175, allocations: 0 / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.1755, allocations: 284.3 kB / 0.9875 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.1756, allocations: 88.92 kB / 0.9876 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1756, allocations: 8 kB / 0.9876 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1757, allocations: 27.91 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1758, allocations: 27.97 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1758, allocations: 4 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.162e-05/0.1759, allocations: 148.4 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1759, allocations: 0 / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002409/0.1761, allocations: 51.84 kB / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0006938/0.1768, allocations: 0.8302 MB / 0.9886 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.1775, allocations: 402.5 kB / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1775, allocations: 0 / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.1778, allocations: 104.3 kB / 0.9891 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1781, allocations: 46.41 kB / 0.9892 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1802, allocations: 1.413 MB / 0.9905 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.1804, allocations: 0.7317 MB / 0.9912 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.1805, allocations: 33.33 kB / 0.9913 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.1806, allocations: 51.64 kB / 0.9913 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1806, allocations: 0 / 0.9913 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.1944, allocations: 4.523 MB / 0.9957 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.1945, allocations: 199.9 kB / 0.9959 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/1.719, allocations: 4 kB / 0.9959 GB, free: 9.875 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)