Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001013/0.001013, allocations: 84.38 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.001431/0.001431, 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 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.003/2.003, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005614/0.0005616, allocations: 22.31 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2691, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002168/0.2713, allocations: 1.582 MB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004011/0.2753, allocations: 3.225 MB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2755, allocations: 4 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.2758, allocations: 39.81 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.2763, allocations: 119.3 kB / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.254e-05/0.2764, allocations: 19.97 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2766, allocations: 163.2 kB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2767, allocations: 21.69 kB / 0.7924 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2769, allocations: 71.69 kB / 0.7925 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2771, allocations: 67.69 kB / 0.7926 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.2772, allocations: 7.938 kB / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.2773, allocations: 27.91 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.2773, allocations: 39.84 kB / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.2774, allocations: 49.64 kB / 0.7927 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.2776, allocations: 103.8 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2776, allocations: 4 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2776, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2776, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 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.0008159/0.2784, allocations: 0.4905 MB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2785, allocations: 8.031 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.2785, allocations: 38.56 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.2786, allocations: 19.77 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.2789, allocations: 237.7 kB / 0.7936 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.279, allocations: 4 kB / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.279, allocations: 8 kB / 0.7936 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.2793, allocations: 137.6 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2793, allocations: 0 / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.2794, allocations: 7.984 kB / 0.7937 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.2794, allocations: 15.94 kB / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.2798, allocations: 155.8 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.2805, allocations: 444.5 kB / 0.7943 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.2809, allocations: 178.3 kB / 0.7945 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.2812, allocations: 108.8 kB / 0.7946 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.2812, allocations: 11.98 kB / 0.7946 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2812, allocations: 34.52 kB / 0.7946 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2812, allocations: 0 / 0.7946 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007956/0.282, allocations: 305.7 kB / 0.7949 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2821, allocations: 55.41 kB / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.2823, allocations: 209 kB / 0.7952 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2823, allocations: 29.7 kB / 0.7952 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.2824, allocations: 120 kB / 0.7953 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.2824, allocations: 39.39 kB / 0.7953 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.2825, allocations: 8 kB / 0.7954 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2826, allocations: 334.8 kB / 0.7957 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2828, allocations: 75.92 kB / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.283, allocations: 81.19 kB / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.2832, allocations: 85.02 kB / 0.7959 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2832, allocations: 0 / 0.7959 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004851/0.2837, allocations: 229.3 kB / 0.7961 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2837, allocations: 4 kB / 0.7961 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2838, allocations: 11.95 kB / 0.7961 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2838, allocations: 0 / 0.7961 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.284, allocations: 47.89 kB / 0.7962 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.284, allocations: 0 / 0.7962 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.2842, allocations: 19.98 kB / 0.7962 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.2842, allocations: 4 kB / 0.7962 GB, free: 2.555 MB / 0.6075 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.0001113/0.2843, allocations: 125.8 kB / 0.7963 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.2844, allocations: 19.72 kB / 0.7963 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.2844, allocations: 25.83 kB / 0.7964 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2845, allocations: 7.953 kB / 0.7964 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2845, allocations: 0 / 0.7964 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2845, allocations: 0 / 0.7964 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.2847, allocations: 261.5 kB / 0.7966 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2848, allocations: 4 kB / 0.7966 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.285, allocations: 39.91 kB / 0.7967 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.285, allocations: 0 / 0.7967 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.285, allocations: 4 kB / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.285, allocations: 3.938 kB / 0.7967 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.285, allocations: 7.938 kB / 0.7967 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.2856, allocations: 330.9 kB / 0.797 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.2857, allocations: 104.8 kB / 0.7971 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2857, allocations: 4 kB / 0.7971 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2859, allocations: 19.97 kB / 0.7971 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.286, allocations: 11.94 kB / 0.7971 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.286, allocations: 8 kB / 0.7971 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001248/0.2861, allocations: 152.5 kB / 0.7973 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2861, allocations: 4 kB / 0.7973 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002789/0.2864, allocations: 35.98 kB / 0.7973 GB, free: 1.316 MB / 0.6075 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.000825/0.2872, allocations: 0.8528 MB / 0.7982 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.2877, allocations: 183.8 kB / 0.7983 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2877, allocations: 4 kB / 0.7983 GB, free: 260 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.288, allocations: 95.88 kB / 0.7984 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2884, allocations: 35.06 kB / 0.7985 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.291, allocations: 1.282 MB / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.2914, allocations: 0.7313 MB / 0.8004 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.2916, allocations: 48.59 kB / 0.8005 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2918, allocations: 47.41 kB / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2918, allocations: 0 / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.3072, allocations: 3.366 MB / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.3074, allocations: 213.4 kB / 0.804 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.169, allocations: 0 / 0.804 GB, free: 10.53 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) Environment - environmentSimulation: