Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 249.5 MB / 257 MB, free: 6.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 187.3 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008186/0.0008185, allocations: 88.19 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.03e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7956/0.9642, allocations: 355.6 MB / 1.233 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.9645, allocations: 86.02 kB / 1.233 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02108/0.9856, allocations: 9.12 MB / 1.242 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9856, allocations: 0 / 1.242 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.9856, allocations: 4 kB / 1.242 GB, free: 6.371 MB / 0.8542 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.0005563/0.9862, allocations: 460 kB / 1.242 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.9863, allocations: 8.031 kB / 1.242 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.9863, allocations: 23.67 kB / 1.242 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.9867, allocations: 243.8 kB / 1.242 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.9867, allocations: 8 kB / 1.242 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.9867, allocations: 0 / 1.242 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.9868, allocations: 70.97 kB / 1.242 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.987, allocations: 107.8 kB / 1.242 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.987, allocations: 0 / 1.242 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.987, allocations: 0 / 1.242 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.9871, allocations: 8 kB / 1.242 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.9876, allocations: 420 kB / 1.243 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.9878, allocations: 123.7 kB / 1.243 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.9879, allocations: 78.94 kB / 1.243 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.988, allocations: 7.984 kB / 1.243 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.988, allocations: 34.56 kB / 1.243 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.988, allocations: 0 / 1.243 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004897/0.9885, allocations: 191.5 kB / 1.243 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.9885, allocations: 55.41 kB / 1.243 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.9887, allocations: 171.3 kB / 1.244 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.9887, allocations: 25.7 kB / 1.244 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.9888, allocations: 131.5 kB / 1.244 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.9888, allocations: 38.61 kB / 1.244 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-06/0.9888, allocations: 0 / 1.244 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.989, allocations: 329.3 kB / 1.244 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.989, allocations: 42.36 kB / 1.244 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.9891, allocations: 45.41 kB / 1.244 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.9894, allocations: 80.86 kB / 1.244 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9894, allocations: 0 / 1.244 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003927/0.9898, allocations: 185.2 kB / 1.244 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.9898, allocations: 4 kB / 1.244 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9898, allocations: 0 / 1.244 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.9898, allocations: 0 / 1.244 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.9901, allocations: 47.27 kB / 1.244 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9901, allocations: 3.953 kB / 1.244 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.9902, allocations: 23.89 kB / 1.244 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.9903, allocations: 4 kB / 1.244 GB, free: 3.613 MB / 0.8542 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 () * 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 6.932e-05/0.9903, allocations: 110.4 kB / 1.245 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004006/0.9907, allocations: 186.6 kB / 1.245 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.9908, allocations: 23.67 kB / 1.245 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.9909, allocations: 19.66 kB / 1.245 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.9909, allocations: 11.94 kB / 1.245 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.9909, allocations: 7.938 kB / 1.245 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9909, allocations: 0 / 1.245 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.9911, allocations: 229 kB / 1.245 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9911, allocations: 0 / 1.245 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.9913, allocations: 35.97 kB / 1.245 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.9913, allocations: 0 / 1.245 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.9914, allocations: 3.984 kB / 1.245 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.9914, allocations: 4 kB / 1.245 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9914, allocations: 0 / 1.245 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.9918, allocations: 291.5 kB / 1.245 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.9919, allocations: 111 kB / 1.245 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.9919, allocations: 4 kB / 1.245 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.9921, allocations: 11.98 kB / 1.245 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.9922, allocations: 15.97 kB / 1.245 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.9922, allocations: 4 kB / 1.245 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001016/0.9923, allocations: 152.5 kB / 1.246 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9923, allocations: 0 / 1.246 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002648/0.9926, allocations: 35.94 kB / 1.246 GB, free: 2.438 MB / 0.8542 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 (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.0007918/0.9934, allocations: 0.8546 MB / 1.246 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.9936, allocations: 114.9 kB / 1.247 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.9936, allocations: 0 / 1.247 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.9937, allocations: 68.97 kB / 1.247 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.9939, allocations: 21.78 kB / 1.247 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.9945, allocations: 274.7 kB / 1.247 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.9948, allocations: 0.7307 MB / 1.248 GB, free: 428 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000167/0.995, allocations: 56.7 kB / 1.248 GB, free: 372 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.9951, allocations: 51.41 kB / 1.248 GB, free: 348 kB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/0.9951, allocations: 0 / 1.248 GB, free: 348 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3965/1.392, allocations: 3.415 MB / 1.251 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.392, allocations: 165.7 kB / 1.251 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.946, allocations: 0 / 1.251 GB, free: 309.1 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)