Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",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.445/1.445, allocations: 288.4 MB / 303.6 MB, free: 8.047 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.0008491/0.0008491, allocations: 176.5 kB / 372.3 MB, free: 10.1 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.07/1.07, allocations: 205.4 MB / 0.631 GB, free: 9.777 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.0006442/0.0006442, allocations: 98.27 kB / 0.7444 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.001807/0.1374, allocations: 2.2 MB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1385, allocations: 0.8895 MB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.1387, allocations: 11.94 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1389, allocations: 43.58 kB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.139, allocations: 35.66 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1393, allocations: 143 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.1396, allocations: 391.7 kB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1398, allocations: 221.3 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.1399, allocations: 83.47 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.14, allocations: 99.28 kB / 0.9842 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.14, allocations: 4 kB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.125e-05/0.14, allocations: 8 kB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.1401, allocations: 47.73 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.1401, allocations: 152.9 kB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1404, allocations: 498.7 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1404, allocations: 0 / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1404, allocations: 3.938 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1404, allocations: 0 / 0.9849 GB, free: 22.39 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005735/0.141, allocations: 0.5806 MB / 0.9854 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.141, allocations: 8.031 kB / 0.9854 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.1411, allocations: 62.72 kB / 0.9855 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.1411, allocations: 40.47 kB / 0.9855 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1414, allocations: 391.2 kB / 0.9859 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1415, allocations: 20.94 kB / 0.9859 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.1415, allocations: 28.38 kB / 0.986 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.142, allocations: 329.5 kB / 0.9863 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.142, allocations: 0 / 0.9863 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.142, allocations: 15.94 kB / 0.9863 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.142, allocations: 8 kB / 0.9863 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.1424, allocations: 246.1 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1434, allocations: 1.182 MB / 0.9877 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.1438, allocations: 242.8 kB / 0.9879 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.144, allocations: 108.8 kB / 0.988 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.144, allocations: 3.938 kB / 0.988 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.144, allocations: 34.56 kB / 0.9881 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.144, allocations: 0 / 0.9881 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005052/0.1445, allocations: 313.2 kB / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.1446, allocations: 81.05 kB / 0.9884 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1448, allocations: 345.5 kB / 0.9888 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1448, allocations: 29.7 kB / 0.9888 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1449, allocations: 196.2 kB / 0.989 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1449, allocations: 59.23 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.1449, allocations: 4 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.145, allocations: 338.8 kB / 0.9894 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1451, allocations: 83.97 kB / 0.9894 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1453, allocations: 125.6 kB / 0.9896 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.1456, allocations: 208.1 kB / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1456, allocations: 0 / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003665/0.146, allocations: 263.1 kB / 0.99 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.146, allocations: 110.7 kB / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.146, allocations: 3.938 kB / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-06/0.146, allocations: 0 / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1462, allocations: 40.03 kB / 0.9902 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1462, allocations: 7.938 kB / 0.9902 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1463, allocations: 27.75 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1463, allocations: 4 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-06/0.1463, allocations: 4 kB / 0.9902 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002361/0.1466, allocations: 180.9 kB / 0.9904 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.1466, allocations: 8 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-06/0.1466, allocations: 3.984 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1467, allocations: 27.98 kB / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-06/0.1467, allocations: 0 / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.1468, allocations: 19.84 kB / 0.9904 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1468, allocations: 4 kB / 0.9904 GB, free: 16.41 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: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked 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 0.0001147/0.1469, allocations: 245 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.147, allocations: 31.62 kB / 0.9907 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.147, allocations: 43.3 kB / 0.9907 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.147, allocations: 4 kB / 0.9907 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1471, allocations: 0 / 0.9907 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1471, allocations: 0 / 0.9907 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.1473, allocations: 417.2 kB / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1473, allocations: 0 / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1475, allocations: 31.92 kB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1475, allocations: 0 / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1475, allocations: 0 / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1475, allocations: 11.94 kB / 0.9912 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1475, allocations: 0 / 0.9912 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.148, allocations: 455 kB / 0.9916 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.1481, allocations: 132.7 kB / 0.9917 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.1482, allocations: 4 kB / 0.9917 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1483, allocations: 12 kB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1483, allocations: 7.984 kB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1483, allocations: 4 kB / 0.9918 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001539/0.1485, allocations: 251.2 kB / 0.992 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.1485, allocations: 0 / 0.992 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003082/0.1488, allocations: 95.56 kB / 0.9921 GB, free: 14.61 MB / 0.6198 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 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked 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.000606/0.1494, allocations: 0.9824 MB / 0.9931 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.1499, allocations: 297.8 kB / 0.9933 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1499, allocations: 0 / 0.9933 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1501, allocations: 105.4 kB / 0.9934 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.1505, allocations: 81.05 kB / 0.9935 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.1528, allocations: 1.821 MB / 0.9953 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.153, allocations: 0.7755 MB / 0.9961 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.1531, allocations: 42.25 kB / 0.9961 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1532, allocations: 99.41 kB / 0.9962 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.1532, allocations: 0 / 0.9962 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8088/0.962, allocations: 6.156 MB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.9622, allocations: 203.8 kB / 1.002 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.094, allocations: 0 / 1.002 GB, free: 4.094 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)