Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 141.8 MB / 149.3 MB, free: 9.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 172.9 kB / 182.2 MB, free: 9.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.814/1.814, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 100 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002463, allocations: 274.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.336e-05, allocations: 4 kB / 0.6766 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5639, allocations: 82.77 MB / 0.7575 GB, free: 31.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.7239, allocations: 113.7 MB / 0.8685 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.7243, allocations: 83.94 kB / 0.8686 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01672/0.741, allocations: 6.887 MB / 0.8754 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7411, allocations: 0 / 0.8754 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.777e-05/0.7411, allocations: 8 kB / 0.8754 GB, free: 6.996 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008648/0.742, allocations: 0.5527 MB / 0.8759 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.7421, allocations: 8.031 kB / 0.8759 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.7422, allocations: 39.53 kB / 0.8759 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.7427, allocations: 390.6 kB / 0.8763 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.7428, allocations: 8 kB / 0.8763 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.7428, allocations: 19.98 kB / 0.8763 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003809/0.7432, allocations: 185.1 kB / 0.8765 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.7437, allocations: 272.3 kB / 0.8768 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.7437, allocations: 0 / 0.8768 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.7437, allocations: 3.938 kB / 0.8768 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.7437, allocations: 8 kB / 0.8768 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.7452, allocations: 1.092 MB / 0.8779 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.7457, allocations: 194.9 kB / 0.878 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.7458, allocations: 76.89 kB / 0.8781 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.7459, allocations: 0 / 0.8781 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.7459, allocations: 38.56 kB / 0.8782 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.7459, allocations: 3.938 kB / 0.8782 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0003721/0.7463, allocations: 173.3 kB / 0.8783 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.7464, allocations: 77.39 kB / 0.8784 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.7466, allocations: 238.3 kB / 0.8786 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.7467, allocations: 25.92 kB / 0.8786 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.7468, allocations: 204 kB / 0.8788 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.7469, allocations: 51.2 kB / 0.8789 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.7469, allocations: 0 / 0.8789 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.747, allocations: 338.8 kB / 0.8792 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.7471, allocations: 64 kB / 0.8793 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.7473, allocations: 99.41 kB / 0.8794 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.7474, allocations: 73.3 kB / 0.8794 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7474, allocations: 3.938 kB / 0.8794 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003075/0.7477, allocations: 201.3 kB / 0.8796 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.7478, allocations: 276 kB / 0.8799 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.7479, allocations: 0 / 0.8799 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7479, allocations: 4 kB / 0.8799 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.7481, allocations: 35.92 kB / 0.8799 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7481, allocations: 0 / 0.8799 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.7482, allocations: 23.83 kB / 0.88 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.7482, allocations: 8 kB / 0.88 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-06/0.7482, allocations: 0 / 0.88 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002334/0.7485, allocations: 145.3 kB / 0.8801 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.7485, allocations: 4 kB / 0.8801 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.7485, allocations: 0 / 0.8801 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7486, allocations: 31.94 kB / 0.8801 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7486, allocations: 7.938 kB / 0.8801 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.7487, allocations: 7.906 kB / 0.8802 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.7488, allocations: 12.06 kB / 0.8802 GB, free: 1.816 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.837e-05/0.7489, allocations: 104.9 kB / 0.8803 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002819/0.7492, allocations: 183.2 kB / 0.8804 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.7492, allocations: 31.62 kB / 0.8805 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.7493, allocations: 29.98 kB / 0.8805 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7493, allocations: 4 kB / 0.8805 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7493, allocations: 0 / 0.8805 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7493, allocations: 3.938 kB / 0.8805 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.7498, allocations: 353.9 kB / 0.8808 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7498, allocations: 8 kB / 0.8809 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.7499, allocations: 23.98 kB / 0.8809 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7499, allocations: 0 / 0.8809 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.75, allocations: 4 kB / 0.8809 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.75, allocations: 0 / 0.8809 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.75, allocations: 15.5 kB / 0.8809 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.7505, allocations: 375.1 kB / 0.8813 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.7506, allocations: 128.9 kB / 0.8814 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.7507, allocations: 0 / 0.8814 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.7508, allocations: 11.98 kB / 0.8814 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.7509, allocations: 11.94 kB / 0.8814 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7509, allocations: 4 kB / 0.8814 GB, free: 480 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001699/0.7511, allocations: 182 kB / 0.8816 GB, free: 296 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7511, allocations: 4 kB / 0.8816 GB, free: 292 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003972/0.7515, allocations: 87.53 kB / 0.8817 GB, free: 204 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0008182/0.7523, allocations: 0.9183 MB / 0.8826 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.7527, allocations: 245.8 kB / 0.8828 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7528, allocations: 0 / 0.8828 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.7529, allocations: 80.25 kB / 0.8829 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.7534, allocations: 58.7 kB / 0.8829 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.7545, allocations: 460.2 kB / 0.8834 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.7549, allocations: 0.784 MB / 0.8841 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.7551, allocations: 43.34 kB / 0.8842 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.7553, allocations: 99.41 kB / 0.8843 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.7553, allocations: 3.938 kB / 0.8843 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.7821, allocations: 5.475 MB / 0.8896 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.7824, allocations: 159.2 kB / 0.8898 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.049, allocations: 0 / 0.8898 GB, free: 7.824 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)