Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_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.001395/0.001395, allocations: 100.1 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.001625/0.001625, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.317/2.317, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.265/4.265, allocations: 409.2 MB / 0.6838 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005743/0.0005745, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274/1.274, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004247/1.279, allocations: 2.179 MB / 0.983 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002015/1.281, allocations: 0.8459 MB / 0.9838 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/1.281, allocations: 12 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.328e-05/1.281, allocations: 27.66 kB / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004718/1.282, allocations: 79.69 kB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/1.282, allocations: 138.9 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005501/1.283, allocations: 248.2 kB / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/1.283, allocations: 156.3 kB / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/1.283, allocations: 79.52 kB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/1.284, allocations: 99.34 kB / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/1.284, allocations: 8 kB / 0.9846 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/1.284, allocations: 11.94 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/1.284, allocations: 35.78 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/1.284, allocations: 93.45 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/1.284, allocations: 493 kB / 0.9852 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.284, allocations: 0 / 0.9852 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/1.284, allocations: 4 kB / 0.9852 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.977e-05/1.284, allocations: 4 kB / 0.9852 GB, free: 1.797 MB / 0.7325 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.001196/1.286, allocations: 0.5765 MB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.286, allocations: 12.03 kB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/1.286, allocations: 62.53 kB / 0.9859 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.286, allocations: 39.53 kB / 0.9859 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/1.287, allocations: 370.2 kB / 0.9863 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/1.287, allocations: 20.56 kB / 0.9863 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/1.287, allocations: 27.95 kB / 0.9863 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/1.288, allocations: 325.4 kB / 0.9866 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.288, allocations: 4 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/1.288, allocations: 8 kB / 0.9866 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/1.288, allocations: 8 kB / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/1.289, allocations: 250.1 kB / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/1.291, allocations: 1.182 MB / 0.988 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/1.292, allocations: 250.8 kB / 0.9883 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/1.292, allocations: 4 kB / 0.9883 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.292, allocations: 34.56 kB / 0.9883 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/1.292, allocations: 0 / 0.9883 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001084/1.293, allocations: 313.5 kB / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/1.293, allocations: 81.11 kB / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/1.294, allocations: 336.4 kB / 0.989 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/1.294, allocations: 29.7 kB / 0.989 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/1.294, allocations: 192.2 kB / 0.9892 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/1.294, allocations: 51.19 kB / 0.9893 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/1.294, allocations: 8 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.294, allocations: 342.8 kB / 0.9896 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/1.295, allocations: 87.97 kB / 0.9897 GB, free: 13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/1.295, allocations: 124.8 kB / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/1.295, allocations: 95.92 kB / 0.9899 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.295, allocations: 3.938 kB / 0.9899 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007733/1.296, allocations: 262.5 kB / 0.9902 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.296, allocations: 274.9 kB / 0.9904 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/1.296, allocations: 0 / 0.9904 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.296, allocations: 4 kB / 0.9904 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.297, allocations: 35.98 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.297, allocations: 4 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.297, allocations: 31.73 kB / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/1.297, allocations: 7.984 kB / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.297, allocations: 4 kB / 0.9905 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005109/1.297, allocations: 181.1 kB / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/1.298, allocations: 0 / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/1.298, allocations: 0 / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/1.298, allocations: 31.92 kB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/1.298, allocations: 0 / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/1.298, allocations: 19.8 kB / 0.9907 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/1.298, allocations: 8 kB / 0.9907 GB, free: 11.9 MB / 0.7481 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.0003057/1.298, allocations: 241.1 kB / 0.991 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/1.298, allocations: 35.62 kB / 0.991 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/1.299, allocations: 35.28 kB / 0.991 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.299, allocations: 4 kB / 0.991 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.299, allocations: 4 kB / 0.991 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.299, allocations: 3.953 kB / 0.991 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/1.299, allocations: 409.2 kB / 0.9914 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.299, allocations: 0 / 0.9914 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/1.3, allocations: 27.98 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.3, allocations: 3.938 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/1.3, allocations: 4 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.3, allocations: 8 kB / 0.9915 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.3, allocations: 0 / 0.9915 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/1.301, allocations: 460.9 kB / 0.9919 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/1.301, allocations: 128.7 kB / 0.992 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/1.301, allocations: 4 kB / 0.992 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/1.301, allocations: 12 kB / 0.992 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/1.301, allocations: 11.98 kB / 0.9921 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/1.301, allocations: 8.062 kB / 0.9921 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003802/1.302, allocations: 235 kB / 0.9923 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.302, allocations: 0 / 0.9923 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007439/1.303, allocations: 91.62 kB / 0.9924 GB, free: 10.11 MB / 0.7481 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.001449/1.304, allocations: 0.9813 MB / 0.9933 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009943/1.305, allocations: 303.7 kB / 0.9936 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.305, allocations: 4 kB / 0.9936 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/1.305, allocations: 104.2 kB / 0.9937 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/1.306, allocations: 62.59 kB / 0.9938 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/1.311, allocations: 2.07 MB / 0.9958 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/1.312, allocations: 0.7872 MB / 0.9966 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002229/1.312, allocations: 30.27 kB / 0.9966 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/1.312, allocations: 99.39 kB / 0.9967 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.312, allocations: 0 / 0.9967 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8618/2.174, allocations: 6.041 MB / 1.003 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004133/2.175, allocations: 188 kB / 1.003 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.887/7.061, allocations: 2.25 kB / 1.003 GB, free: 15.48 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat does not exist to compare? outputFormat=mat