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/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.235/2.235, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.0016, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.833/1.833, allocations: 221.3 MB / 0.7915 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 83.97 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.613e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3291, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.631, allocations: 374.1 MB / 1.584 GB, free: 11.64 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.632, allocations: 85.39 kB / 1.584 GB, free: 11.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03429/1.666, allocations: 14.16 MB / 1.598 GB, free: 14.05 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.362e-06/1.666, allocations: 0 / 1.598 GB, free: 14.05 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.666, allocations: 4 kB / 1.598 GB, free: 14.05 MB / 1.057 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.0008335/1.667, allocations: 454.9 kB / 1.599 GB, free: 13.56 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.667, allocations: 12.03 kB / 1.599 GB, free: 13.55 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/1.667, allocations: 34.56 kB / 1.599 GB, free: 13.5 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/1.667, allocations: 20.64 kB / 1.599 GB, free: 13.48 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.667, allocations: 186.8 kB / 1.599 GB, free: 13.26 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.667, allocations: 8 kB / 1.599 GB, free: 13.25 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/1.667, allocations: 12 kB / 1.599 GB, free: 13.24 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/1.667, allocations: 97.59 kB / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.667, allocations: 4 kB / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.668, allocations: 0 / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.668, allocations: 0 / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/1.668, allocations: 99.91 kB / 1.599 GB, free: 13.04 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/1.669, allocations: 480.3 kB / 1.599 GB, free: 12.52 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/1.669, allocations: 98.55 kB / 1.6 GB, free: 12.41 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/1.669, allocations: 44.86 kB / 1.6 GB, free: 12.37 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/1.67, allocations: 0.9805 MB / 1.601 GB, free: 11.25 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.67, allocations: 42.5 kB / 1.601 GB, free: 11.2 MB / 1.057 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/1.671, allocations: 0 / 1.601 GB, free: 11.2 MB / 1.057 GB Notification: Performance of matching and sorting (n=12): time 0.0002768/1.671, allocations: 109.5 kB / 1.601 GB, free: 11.09 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.671, allocations: 51.41 kB / 1.601 GB, free: 11.02 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/1.671, allocations: 148.3 kB / 1.601 GB, free: 10.88 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.671, allocations: 33.64 kB / 1.601 GB, free: 10.84 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/1.671, allocations: 104.4 kB / 1.601 GB, free: 10.73 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/1.671, allocations: 39.39 kB / 1.601 GB, free: 10.69 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/1.671, allocations: 8 kB / 1.601 GB, free: 10.68 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.671, allocations: 322.8 kB / 1.601 GB, free: 10.36 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/1.671, allocations: 52 kB / 1.601 GB, free: 10.31 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.671, allocations: 84.23 kB / 1.602 GB, free: 10.21 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/1.672, allocations: 68.78 kB / 1.602 GB, free: 10.15 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.672, allocations: 4 kB / 1.602 GB, free: 10.14 MB / 1.057 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003365/1.672, allocations: 198.2 kB / 1.602 GB, free: 9.945 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.672, allocations: 5.25 kB / 1.602 GB, free: 9.941 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/1.672, allocations: 0 / 1.602 GB, free: 9.941 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.672, allocations: 4 kB / 1.602 GB, free: 9.938 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/1.672, allocations: 59.89 kB / 1.602 GB, free: 9.879 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.672, allocations: 4 kB / 1.602 GB, free: 9.875 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.673, allocations: 35.92 kB / 1.602 GB, free: 9.84 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/1.673, allocations: 8 kB / 1.602 GB, free: 9.832 MB / 1.057 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 () * 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 8.784e-05/1.673, allocations: 112.9 kB / 1.602 GB, free: 9.715 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/1.673, allocations: 15.77 kB / 1.602 GB, free: 9.699 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/1.673, allocations: 142.1 kB / 1.602 GB, free: 9.555 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.673, allocations: 4 kB / 1.602 GB, free: 9.551 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.673, allocations: 4 kB / 1.602 GB, free: 9.547 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.673, allocations: 0 / 1.602 GB, free: 9.547 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/1.673, allocations: 213.5 kB / 1.602 GB, free: 9.289 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.673, allocations: 4 kB / 1.602 GB, free: 9.285 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/1.673, allocations: 39.91 kB / 1.602 GB, free: 9.246 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/1.673, allocations: 3.953 kB / 1.602 GB, free: 9.242 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.673, allocations: 4 kB / 1.602 GB, free: 9.238 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.673, allocations: 4 kB / 1.602 GB, free: 9.234 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.673, allocations: 0 / 1.602 GB, free: 9.234 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/1.674, allocations: 199.4 kB / 1.603 GB, free: 9.023 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/1.674, allocations: 88.92 kB / 1.603 GB, free: 8.918 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/1.674, allocations: 7.953 kB / 1.603 GB, free: 8.91 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.674, allocations: 19.92 kB / 1.603 GB, free: 8.891 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/1.674, allocations: 11.98 kB / 1.603 GB, free: 8.879 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/1.674, allocations: 8 kB / 1.603 GB, free: 8.871 MB / 1.057 GB Notification: Performance of sorting global known variables: time 8.637e-05/1.674, allocations: 111.6 kB / 1.603 GB, free: 8.762 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.51e-07/1.674, allocations: 7.938 kB / 1.603 GB, free: 8.754 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003669/1.675, allocations: 67.98 kB / 1.603 GB, free: 8.688 MB / 1.057 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 () * 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.0007545/1.675, allocations: 0.8159 MB / 1.604 GB, free: 7.848 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002642/1.676, allocations: 121.9 kB / 1.604 GB, free: 7.73 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.676, allocations: 0 / 1.604 GB, free: 7.73 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/1.676, allocations: 47.94 kB / 1.604 GB, free: 7.684 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/1.676, allocations: 21.47 kB / 1.604 GB, free: 7.664 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/1.676, allocations: 215.5 kB / 1.604 GB, free: 7.41 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/1.677, allocations: 0.7048 MB / 1.605 GB, free: 6.68 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001119/1.677, allocations: 21.14 kB / 1.605 GB, free: 6.656 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/1.677, allocations: 31.44 kB / 1.605 GB, free: 6.629 MB / 1.057 GB Notification: Performance of SimCode: time 2.81e-07/1.677, allocations: 0 / 1.605 GB, free: 6.629 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/1.696, allocations: 4.283 MB / 1.609 GB, free: 2.531 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.696, allocations: 179.4 kB / 1.609 GB, free: 2.305 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/3.442, allocations: 3 kB / 1.609 GB, free: 2.305 MB / 1.057 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) 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