Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json 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/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001211, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004102, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7533/0.7537, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002601/0.7564, allocations: 2.185 MB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.7577, allocations: 0.8378 MB / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.7579, allocations: 15 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.758, allocations: 19.73 kB / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.7583, allocations: 74.34 kB / 0.9566 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.7587, allocations: 145.4 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.759, allocations: 249.2 kB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.7593, allocations: 150.5 kB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.7594, allocations: 81.17 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.7595, allocations: 102.7 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.7596, allocations: 7.625 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.602e-05/0.7596, allocations: 7.562 kB / 0.9574 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.7596, allocations: 37.08 kB / 0.9574 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.7597, allocations: 88.2 kB / 0.9575 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.76, allocations: 498.3 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.76, allocations: 4 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/0.76, allocations: 0 / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.76, allocations: 1.469 kB / 0.958 GB, free: 4.641 MB / 0.7169 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.0007242/0.7608, allocations: 0.586 MB / 0.9585 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.7608, allocations: 13.12 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.7609, allocations: 58.3 kB / 0.9586 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.761, allocations: 41.16 kB / 0.9586 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.7613, allocations: 371.4 kB / 0.959 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.7613, allocations: 24.25 kB / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.7614, allocations: 28.72 kB / 0.959 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.7619, allocations: 330 kB / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7619, allocations: 1.406 kB / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.7619, allocations: 13.8 kB / 0.9594 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.762, allocations: 7.062 kB / 0.9594 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.7624, allocations: 247.5 kB / 0.9596 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.7638, allocations: 1.179 MB / 0.9608 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.7643, allocations: 252.9 kB / 0.961 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.7644, allocations: 2.75 kB / 0.961 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.7644, allocations: 35.94 kB / 0.961 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.7644, allocations: 0 / 0.961 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006279/0.765, allocations: 318.1 kB / 0.9613 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.7651, allocations: 84.02 kB / 0.9614 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.7654, allocations: 328.9 kB / 0.9617 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.7654, allocations: 30.73 kB / 0.9618 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.7655, allocations: 191.5 kB / 0.9619 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.7656, allocations: 53.38 kB / 0.962 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.7656, allocations: 4.781 kB / 0.962 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.633e-05/0.7657, allocations: 341.2 kB / 0.9623 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.7658, allocations: 87.72 kB / 0.9624 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.7661, allocations: 128.8 kB / 0.9625 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.7662, allocations: 91.64 kB / 0.9626 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7663, allocations: 0 / 0.9626 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004364/0.7667, allocations: 269 kB / 0.9629 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.7668, allocations: 271.6 kB / 0.9631 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7668, allocations: 0 / 0.9631 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7668, allocations: 6.359 kB / 0.9631 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.767, allocations: 38 kB / 0.9632 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.767, allocations: 2.25 kB / 0.9632 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.7671, allocations: 28.03 kB / 0.9632 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.7672, allocations: 8.094 kB / 0.9632 GB, free: 400 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.106e-06/0.7672, allocations: 4.219 kB / 0.9632 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002902/0.7675, allocations: 184.6 kB / 0.9634 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.7675, allocations: 0 / 0.9634 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.7675, allocations: 5.797 kB / 0.9634 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.7676, allocations: 29.95 kB / 0.9634 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.7676, allocations: 1.531 kB / 0.9634 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.7677, allocations: 23.78 kB / 0.9635 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.7678, allocations: 3.969 kB / 0.9635 GB, free: 276 kB / 0.7169 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.0001467/0.7679, allocations: 242.5 kB / 0.9637 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.768, allocations: 34.06 kB / 0.9637 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.57e-05/0.7681, allocations: 39.94 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.7681, allocations: 2.219 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7681, allocations: 0 / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.7681, allocations: 0 / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.7685, allocations: 409.7 kB / 0.9642 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7685, allocations: 1.219 kB / 0.9642 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.7687, allocations: 26.42 kB / 0.9642 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7687, allocations: 0 / 0.9642 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.7688, allocations: 9.969 kB / 0.9642 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7688, allocations: 1.406 kB / 0.9642 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7688, allocations: 0 / 0.9642 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.7695, allocations: 464.5 kB / 0.9646 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.7696, allocations: 122.4 kB / 0.9647 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.7696, allocations: 5.438 kB / 0.9648 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.7698, allocations: 17.8 kB / 0.9648 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.7698, allocations: 12.92 kB / 0.9648 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.7699, allocations: 7.688 kB / 0.9648 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002225/0.7701, allocations: 227.8 kB / 0.965 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7701, allocations: 0 / 0.965 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004075/0.7705, allocations: 96.22 kB / 0.9651 GB, free: 14.96 MB / 0.7325 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.0008702/0.7714, allocations: 0.9818 MB / 0.9661 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005996/0.772, allocations: 300.1 kB / 0.9663 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.772, allocations: 0 / 0.9663 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.7722, allocations: 107.6 kB / 0.9664 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.7727, allocations: 68.58 kB / 0.9665 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.776, allocations: 2.08 MB / 0.9685 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.7763, allocations: 0.7852 MB / 0.9693 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.7765, allocations: 29.08 kB / 0.9693 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.7767, allocations: 100.5 kB / 0.9694 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.7767, allocations: 0 / 0.9694 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.8003, allocations: 6.043 MB / 0.9753 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/0.8006, allocations: 187.8 kB / 0.9755 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.447, allocations: 3.938 kB / 0.9755 GB, free: 8.574 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat does not exist to compare? outputFormat=mat