Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001369/0.001369, allocations: 99.31 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.001125/0.001124, 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 1.846/1.846, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.641/5.641, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009614/0.0009619, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975/1.976, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003946/1.98, allocations: 1.237 MB / 0.9821 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002507/1.981, allocations: 31.86 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/1.981, allocations: 0 / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/1.981, allocations: 15.92 kB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/1.981, allocations: 7.984 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/1.981, allocations: 15.98 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/1.982, allocations: 35.89 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/1.982, allocations: 23.97 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/1.982, allocations: 15.92 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/1.982, allocations: 19.92 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/1.982, allocations: 4 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/1.982, allocations: 0 / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/1.982, allocations: 23.86 kB / 0.9823 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/1.982, allocations: 29.7 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/1.982, allocations: 42.12 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.982, allocations: 0 / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.719e-06/1.982, allocations: 0 / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.736e-05/1.982, allocations: 0 / 0.9823 GB, free: 4.812 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000822/1.983, allocations: 355.1 kB / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.127e-05/1.983, allocations: 8.031 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.874e-05/1.983, allocations: 42.56 kB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/1.984, allocations: 7.906 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/1.984, allocations: 183 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/1.984, allocations: 4 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/1.984, allocations: 7.953 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/1.985, allocations: 100.2 kB / 0.983 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/1.985, allocations: 3.984 kB / 0.983 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/1.985, allocations: 8 kB / 0.983 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.985, allocations: 4 kB / 0.983 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/1.985, allocations: 39.97 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/1.986, allocations: 0.64 MB / 0.9837 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/1.987, allocations: 169.1 kB / 0.9838 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/1.987, allocations: 75.28 kB / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/1.987, allocations: 113.9 kB / 0.984 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.36e-05/1.987, allocations: 0 / 0.984 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001545/1.987, allocations: 49.42 kB / 0.9841 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001952/1.987, allocations: 130.7 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/1.988, allocations: 164.5 kB / 0.9844 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/1.988, allocations: 25.7 kB / 0.9844 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/1.988, allocations: 108 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/1.988, allocations: 0 / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.988, allocations: 0 / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003274/1.989, allocations: 318.8 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/1.989, allocations: 4 kB / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/1.989, allocations: 30.56 kB / 0.9848 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/1.989, allocations: 4 kB / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.989, allocations: 0 / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002535/1.989, allocations: 53.55 kB / 0.9849 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.989, allocations: 4 kB / 0.9849 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.989, allocations: 8.078 kB / 0.9849 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/1.989, allocations: 7.953 kB / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/1.989, allocations: 11.94 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.989, allocations: 0 / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/1.989, allocations: 7.906 kB / 0.9849 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.989, allocations: 3.938 kB / 0.9849 GB, free: 1.902 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0002557/1.99, allocations: 189.1 kB / 0.9851 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.99, allocations: 112.9 kB / 0.9852 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/1.99, allocations: 116.8 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001838/1.99, allocations: 176.3 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002569/1.99, allocations: 192.1 kB / 0.9857 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002278/1.991, allocations: 180.3 kB / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/1.991, allocations: 417.2 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001362/1.991, allocations: 116.9 kB / 0.9863 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.992, allocations: 101 kB / 0.9864 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/1.992, allocations: 180.2 kB / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/1.992, allocations: 176.3 kB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000221/1.992, allocations: 184.3 kB / 0.987 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001912/1.993, allocations: 184.2 kB / 0.9871 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/1.993, allocations: 319.9 kB / 0.9874 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/1.993, allocations: 190 kB / 0.9876 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/1.994, allocations: 184.3 kB / 0.9878 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/1.994, allocations: 112.9 kB / 0.9879 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/1.994, allocations: 180.3 kB / 0.9881 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.995, allocations: 104.9 kB / 0.9882 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003281/1.995, allocations: 136.9 kB / 0.9883 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.995, allocations: 0 / 0.9883 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003545/1.995, allocations: 4 kB / 0.9883 GB, free: 14.2 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 (0): * Single equations (assignments): 0 * 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.00112/1.996, allocations: 0.8136 MB / 0.9891 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001526/1.997, allocations: 15.94 kB / 0.9891 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.997, allocations: 0 / 0.9891 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/1.997, allocations: 0 / 0.9891 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/1.997, allocations: 0.5275 MB / 0.9896 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/2, allocations: 0.9194 MB / 0.9905 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/2, allocations: 0.7004 MB / 0.9912 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.034e-05/2.001, allocations: 4 kB / 0.9912 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/2.001, allocations: 15.44 kB / 0.9912 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of SimCode: time 7.003e-06/2.001, allocations: 0 / 0.9912 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/2.027, allocations: 1.457 MB / 0.9927 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004172/2.028, allocations: 196.4 kB / 0.9928 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/5.488, allocations: 0 / 0.9928 GB, free: 9.543 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat does not exist to compare? outputFormat=mat