Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0007823/0.0007824, allocations: 86.72 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.0008896/0.0008897, 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.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.71/2.71, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.000419, allocations: 20 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.863/0.8635, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002399/0.8659, allocations: 1.783 MB / 0.9829 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.8675, allocations: 0.9831 MB / 0.9838 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.8677, allocations: 3.938 kB / 0.9839 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.8677, allocations: 11.86 kB / 0.9839 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.868, allocations: 79.39 kB / 0.9839 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.8683, allocations: 135.6 kB / 0.9841 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.8686, allocations: 270.7 kB / 0.9843 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.8688, allocations: 48.7 kB / 0.9844 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.8689, allocations: 91.58 kB / 0.9845 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.8692, allocations: 123.4 kB / 0.9846 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.8692, allocations: 8 kB / 0.9846 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.8696, allocations: 279.7 kB / 0.9849 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.8697, allocations: 43.77 kB / 0.9849 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.8697, allocations: 61.58 kB / 0.985 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.87, allocations: 217.7 kB / 0.9852 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.87, allocations: 0 / 0.9852 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.454e-06/0.87, allocations: 0 / 0.9852 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.87, allocations: 0 / 0.9852 GB, free: 2.109 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001009/0.871, allocations: 0.6096 MB / 0.9858 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8711, allocations: 8.031 kB / 0.9858 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.8712, allocations: 46.55 kB / 0.9858 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.8714, allocations: 43.61 kB / 0.9859 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.8717, allocations: 266.4 kB / 0.9861 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8717, allocations: 12.28 kB / 0.9861 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.8718, allocations: 15.95 kB / 0.9861 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.8723, allocations: 256.6 kB / 0.9864 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8723, allocations: 0 / 0.9864 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.8723, allocations: 8 kB / 0.9864 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.8723, allocations: 4 kB / 0.9864 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/0.873, allocations: 243.7 kB / 0.9866 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.8741, allocations: 0.9422 MB / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.8748, allocations: 265.2 kB / 0.9878 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.8752, allocations: 137.5 kB / 0.9879 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.8752, allocations: 0 / 0.9879 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8752, allocations: 42.45 kB / 0.988 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.8752, allocations: 0 / 0.988 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001114/0.8764, allocations: 401.4 kB / 0.9883 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.8764, allocations: 89.05 kB / 0.9884 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.8767, allocations: 259 kB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.8767, allocations: 29.7 kB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.8769, allocations: 160.1 kB / 0.9889 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.8769, allocations: 59.19 kB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.8769, allocations: 4 kB / 0.9889 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8771, allocations: 338.8 kB / 0.9892 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.8774, allocations: 111.9 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.8777, allocations: 167.2 kB / 0.9895 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.878, allocations: 123.9 kB / 0.9896 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.878, allocations: 0 / 0.9896 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007666/0.8788, allocations: 325.1 kB / 0.9899 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.8788, allocations: 11.95 kB / 0.9899 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8789, allocations: 0 / 0.9899 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8789, allocations: 4.125 kB / 0.99 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.8792, allocations: 75.89 kB / 0.99 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.8792, allocations: 4 kB / 0.99 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.8794, allocations: 51.8 kB / 0.9901 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.8794, allocations: 8 kB / 0.9901 GB, free: 12.76 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001143/0.8795, allocations: 129.8 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.8797, allocations: 27.62 kB / 0.9902 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.8804, allocations: 343.8 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8804, allocations: 4 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8805, allocations: 8 kB / 0.9906 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8805, allocations: 3.984 kB / 0.9906 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.8808, allocations: 289.3 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8808, allocations: 0 / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.8811, allocations: 67.89 kB / 0.9909 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.8811, allocations: 8 kB / 0.9909 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.8811, allocations: 0 / 0.9909 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.8811, allocations: 3.953 kB / 0.9909 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8812, allocations: 3.938 kB / 0.9909 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.8819, allocations: 482.3 kB / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.882, allocations: 104.7 kB / 0.9915 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.8821, allocations: 11.94 kB / 0.9915 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.8823, allocations: 39.95 kB / 0.9915 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.8824, allocations: 11.98 kB / 0.9916 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.8824, allocations: 8 kB / 0.9916 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001587/0.8826, allocations: 189.9 kB / 0.9917 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8826, allocations: 0 / 0.9917 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003519/0.8829, allocations: 60.23 kB / 0.9918 GB, free: 10.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001129/0.8841, allocations: 1.032 MB / 0.9928 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006854/0.8848, allocations: 267.9 kB / 0.9931 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8848, allocations: 384 / 0.9931 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.8851, allocations: 143.8 kB / 0.9932 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.8857, allocations: 72.77 kB / 0.9933 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.8884, allocations: 1.573 MB / 0.9948 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.8887, allocations: 0.748 MB / 0.9955 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.8889, allocations: 30.66 kB / 0.9956 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.889, allocations: 79.41 kB / 0.9956 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.889, allocations: 0 / 0.9956 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.9065, allocations: 5.84 MB / 1.001 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.9068, allocations: 197.6 kB / 1.002 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.938, allocations: 0 / 1.002 GB, free: 0.9961 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat