Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.0009985/0.0009985, allocations: 99.86 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.0009955/0.0009958, allocations: 177.3 kB / 15.94 MB, free: 228 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.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.493/2.493, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003044, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5685, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002688/0.5712, allocations: 1.542 MB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004951/0.5762, allocations: 3.04 MB / 0.9853 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.5763, allocations: 4 kB / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.5765, allocations: 43.8 kB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.5769, allocations: 135.5 kB / 0.9855 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.636e-05/0.577, allocations: 15.98 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.5772, allocations: 115.8 kB / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.5773, allocations: 21.69 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.5775, allocations: 71.75 kB / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.5777, allocations: 71.61 kB / 0.9858 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.5777, allocations: 4 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.5778, allocations: 23.98 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.5778, allocations: 35.89 kB / 0.9859 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.5779, allocations: 53.58 kB / 0.9859 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.5781, allocations: 115.6 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.5781, allocations: 0 / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5781, allocations: 0 / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.5782, allocations: 0 / 0.986 GB, free: 0.9688 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.001057/0.5792, allocations: 0.4907 MB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5793, allocations: 8.031 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.5793, allocations: 38.56 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.5794, allocations: 19.72 kB / 0.9866 GB, free: 364 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.5798, allocations: 249.6 kB / 0.9868 GB, free: 76 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.5798, allocations: 0 / 0.9868 GB, free: 76 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.5798, allocations: 7.953 kB / 0.9868 GB, free: 68 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.5803, allocations: 141.6 kB / 0.9869 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5803, allocations: 4 kB / 0.9869 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.5803, allocations: 4 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.5804, allocations: 15.98 kB / 0.987 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.581, allocations: 155.8 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.5819, allocations: 460.6 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.5824, allocations: 178.5 kB / 0.9877 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.5824, allocations: 8 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5825, allocations: 30.56 kB / 0.9878 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.5825, allocations: 3.938 kB / 0.9878 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.00122/0.5837, allocations: 320.1 kB / 0.9881 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.5838, allocations: 59.34 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.584, allocations: 213 kB / 0.9883 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.5841, allocations: 29.64 kB / 0.9884 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.5842, allocations: 128 kB / 0.9885 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.5842, allocations: 43.34 kB / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.5843, allocations: 4 kB / 0.9885 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5844, allocations: 334.8 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.5847, allocations: 79.94 kB / 0.9889 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.585, allocations: 83.92 kB / 0.989 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.5854, allocations: 91.94 kB / 0.9891 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5854, allocations: 0 / 0.9891 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000762/0.5862, allocations: 228.3 kB / 0.9893 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5862, allocations: 11.98 kB / 0.9893 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5862, allocations: 0 / 0.9893 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5862, allocations: 0 / 0.9893 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.5866, allocations: 39.97 kB / 0.9894 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5866, allocations: 0 / 0.9894 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.5868, allocations: 27.83 kB / 0.9894 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.5868, allocations: 7.984 kB / 0.9894 GB, free: 13.29 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001449/0.587, allocations: 138.9 kB / 0.9895 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.5871, allocations: 15.81 kB / 0.9895 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.5871, allocations: 29.83 kB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.5872, allocations: 0 / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5872, allocations: 0 / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5872, allocations: 3.984 kB / 0.9896 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.5876, allocations: 269.4 kB / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5876, allocations: 0 / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.5879, allocations: 39.97 kB / 0.9899 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.588, allocations: 4 kB / 0.9899 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.588, allocations: 4 kB / 0.9899 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.588, allocations: 0 / 0.9899 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.588, allocations: 3.984 kB / 0.9899 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.5889, allocations: 331.2 kB / 0.9902 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.5891, allocations: 116.8 kB / 0.9903 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.5891, allocations: 0 / 0.9903 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.5894, allocations: 23.98 kB / 0.9903 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.5895, allocations: 11.92 kB / 0.9903 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.5895, allocations: 4 kB / 0.9903 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001679/0.5897, allocations: 160.5 kB / 0.9905 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5897, allocations: 0 / 0.9905 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004686/0.5901, allocations: 39.94 kB / 0.9905 GB, free: 12.03 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 (13): * Single equations (assignments): 13 * 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.001217/0.5914, allocations: 0.8723 MB / 0.9914 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007054/0.5921, allocations: 198.5 kB / 0.9916 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5921, allocations: 0 / 0.9916 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.5925, allocations: 99.86 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.5929, allocations: 28.42 kB / 0.9917 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.5959, allocations: 1.3 MB / 0.993 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.5963, allocations: 0.7395 MB / 0.9937 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.5966, allocations: 48.58 kB / 0.9937 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.5967, allocations: 51.41 kB / 0.9938 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.5967, allocations: 0 / 0.9938 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.558/2.155, allocations: 3.496 MB / 0.9972 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/2.155, allocations: 204.2 kB / 0.9974 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/5.769, allocations: 2.391 kB / 0.9974 GB, free: 5.07 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat