Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.0008433/0.0008432, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009795/0.0009794, allocations: 168.7 kB / 15.95 MB, free: 204 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.425/1.425, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.507/2.507, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 12 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9627/0.9632, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005023/0.9683, allocations: 4.087 MB / 0.9851 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.9693, allocations: 0.7763 MB / 0.9859 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.9694, allocations: 0 / 0.9859 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.9695, allocations: 27.88 kB / 0.9859 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.9696, allocations: 27.72 kB / 0.9859 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.9701, allocations: 127.5 kB / 0.9861 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.9703, allocations: 151.4 kB / 0.9862 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.9704, allocations: 21.09 kB / 0.9862 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.9706, allocations: 67.77 kB / 0.9863 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.9707, allocations: 79.72 kB / 0.9864 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.9707, allocations: 4 kB / 0.9864 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.971, allocations: 119.8 kB / 0.9865 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.971, allocations: 23.91 kB / 0.9865 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.9711, allocations: 53.64 kB / 0.9866 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.9713, allocations: 153.9 kB / 0.9867 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9714, allocations: 0 / 0.9867 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9714, allocations: 0 / 0.9867 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.9714, allocations: 0 / 0.9867 GB, free: 0.5391 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008663/0.9723, allocations: 474.8 kB / 0.9872 GB, free: 28 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9723, allocations: 8.031 kB / 0.9872 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.9724, allocations: 38.56 kB / 0.9872 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.9724, allocations: 11.91 kB / 0.9872 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.9726, allocations: 192.1 kB / 0.9874 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.9726, allocations: 8 kB / 0.9874 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.9726, allocations: 16 kB / 0.9874 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.973, allocations: 127 kB / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.973, allocations: 0 / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.973, allocations: 7.938 kB / 0.9876 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.973, allocations: 0 / 0.9876 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.9734, allocations: 163.9 kB / 0.9877 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.9744, allocations: 484.3 kB / 0.9882 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.9747, allocations: 134.5 kB / 0.9883 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.9749, allocations: 80.81 kB / 0.9884 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.9761, allocations: 0.9529 MB / 0.9893 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.9762, allocations: 38.56 kB / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.9762, allocations: 0 / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0006467/0.9768, allocations: 249.3 kB / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.9769, allocations: 55.34 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.977, allocations: 151.4 kB / 0.9898 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.9771, allocations: 33.7 kB / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.9772, allocations: 108.3 kB / 0.9899 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.9772, allocations: 39.45 kB / 0.99 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.9772, allocations: 0 / 0.99 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9774, allocations: 330.8 kB / 0.9903 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.9776, allocations: 87.88 kB / 0.9904 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.9778, allocations: 120.9 kB / 0.9905 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.978, allocations: 92.56 kB / 0.9906 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9781, allocations: 0 / 0.9906 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005375/0.9786, allocations: 266.4 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9786, allocations: 4 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9786, allocations: 4 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.9787, allocations: 7.938 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.9789, allocations: 64.06 kB / 0.9909 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.979, allocations: 3.938 kB / 0.9909 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.9791, allocations: 35.73 kB / 0.9909 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.9791, allocations: 11.98 kB / 0.9909 GB, free: 11.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001015/0.9792, allocations: 117.8 kB / 0.991 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.9793, allocations: 11.89 kB / 0.9911 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.9798, allocations: 215.2 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9798, allocations: 7.891 kB / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9798, allocations: 0 / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.9798, allocations: 0 / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.98, allocations: 217.5 kB / 0.9915 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.98, allocations: 0 / 0.9915 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.9802, allocations: 35.97 kB / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.9802, allocations: 0 / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.9802, allocations: 4 kB / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9802, allocations: 4 kB / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9802, allocations: 3.953 kB / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.9807, allocations: 283.2 kB / 0.9918 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.9808, allocations: 104.9 kB / 0.9919 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.9808, allocations: 0 / 0.9919 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.9809, allocations: 19.98 kB / 0.9919 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.981, allocations: 11.98 kB / 0.9919 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.981, allocations: 7.953 kB / 0.9919 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.9811, allocations: 120.9 kB / 0.992 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9811, allocations: 0 / 0.992 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003335/0.9814, allocations: 56.38 kB / 0.9921 GB, free: 10.55 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0009278/0.9824, allocations: 0.8694 MB / 0.993 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.9828, allocations: 189.5 kB / 0.9931 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9829, allocations: 0 / 0.9931 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.983, allocations: 80.08 kB / 0.9932 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.9834, allocations: 19.98 kB / 0.9932 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.9851, allocations: 1.016 MB / 0.9942 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.9854, allocations: 0.7048 MB / 0.9949 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.9856, allocations: 21.45 kB / 0.9949 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.9856, allocations: 35.42 kB / 0.995 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.9857, allocations: 0 / 0.995 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/1, allocations: 4.016 MB / 0.9989 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/1.001, allocations: 216.4 kB / 0.9991 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.967, allocations: 0 / 0.9991 GB, free: 3.457 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat does not exist to compare? outputFormat=mat