Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.0008849/0.0008849, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009999/0.001, allocations: 172.7 kB / 15.95 MB, free: 208 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.918/1.918, allocations: 205.4 MB / 222.1 MB, free: 5.883 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 1.954/1.954, 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.0005772/0.0005772, allocations: 16.28 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2677, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002775/0.2705, allocations: 1.785 MB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004937/0.2755, allocations: 3.537 MB / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.2757, allocations: 4 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.276, allocations: 47.69 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.2764, allocations: 111.3 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.2767, allocations: 115.7 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.2771, allocations: 270.8 kB / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2772, allocations: 48.89 kB / 0.7932 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.2775, allocations: 119.5 kB / 0.7933 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.2777, allocations: 131.4 kB / 0.7934 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.2777, allocations: 8 kB / 0.7934 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.2779, allocations: 111.8 kB / 0.7935 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.278, allocations: 43.81 kB / 0.7936 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.2781, allocations: 65.58 kB / 0.7936 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.2783, allocations: 223.5 kB / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2784, allocations: 0 / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2784, allocations: 0 / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2784, allocations: 0 / 0.7938 GB, free: 5.195 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001145/0.2795, allocations: 0.6269 MB / 0.7945 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2796, allocations: 11.97 kB / 0.7945 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/0.2796, allocations: 46.55 kB / 0.7945 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.2804, allocations: 159.5 kB / 0.7947 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.2811, allocations: 323.2 kB / 0.795 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2812, allocations: 4.188 kB / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.2812, allocations: 8 kB / 0.795 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.2819, allocations: 254.9 kB / 0.7952 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2819, allocations: 4 kB / 0.7952 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.2819, allocations: 8 kB / 0.7952 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2819, allocations: 0 / 0.7952 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009609/0.2829, allocations: 348.2 kB / 0.7956 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2842, allocations: 0.5983 MB / 0.7961 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.2848, allocations: 198.4 kB / 0.7963 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.2853, allocations: 184.7 kB / 0.7965 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/0.2862, allocations: 0.5766 MB / 0.7971 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.2862, allocations: 34.56 kB / 0.7971 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 4.168e-06/0.2862, allocations: 7.984 kB / 0.7971 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001598/0.2878, allocations: 0.5598 MB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.2879, allocations: 55.41 kB / 0.7977 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.2882, allocations: 268.4 kB / 0.798 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2882, allocations: 25.7 kB / 0.798 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2883, allocations: 156 kB / 0.7981 GB, free: 472 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.2884, allocations: 43.36 kB / 0.7982 GB, free: 428 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.2884, allocations: 4 kB / 0.7982 GB, free: 424 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2885, allocations: 338.8 kB / 0.7985 GB, free: 76 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.2891, allocations: 175.9 kB / 0.7987 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.2895, allocations: 182.8 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.29, allocations: 171.9 kB / 0.799 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.29, allocations: 0 / 0.799 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001086/0.2911, allocations: 433 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2912, allocations: 4 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2912, allocations: 0 / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2912, allocations: 0 / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.2916, allocations: 79.92 kB / 0.7995 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.2917, allocations: 4 kB / 0.7995 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.292, allocations: 63.78 kB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.292, allocations: 11.97 kB / 0.7996 GB, free: 14.96 MB / 0.6231 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 (17): * Single equations (assignments): 17 * 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.0001634/0.2922, allocations: 137.7 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.2922, allocations: 23.72 kB / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.2934, allocations: 431.3 kB / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2934, allocations: 4 kB / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2934, allocations: 3.984 kB / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2934, allocations: 0 / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.2938, allocations: 309.2 kB / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2938, allocations: 4 kB / 0.8005 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.2942, allocations: 79.86 kB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2942, allocations: 0 / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.2942, allocations: 7.984 kB / 0.8005 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2942, allocations: 4 kB / 0.8005 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2942, allocations: 0 / 0.8005 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.2953, allocations: 0.4939 MB / 0.801 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.2955, allocations: 124.7 kB / 0.8012 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.2955, allocations: 15.88 kB / 0.8012 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.2958, allocations: 43.95 kB / 0.8012 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.2959, allocations: 23.97 kB / 0.8012 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.296, allocations: 7.922 kB / 0.8012 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001811/0.2961, allocations: 187.1 kB / 0.8014 GB, free: 13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2961, allocations: 0 / 0.8014 GB, free: 13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003507/0.2965, allocations: 63.94 kB / 0.8015 GB, free: 12.93 MB / 0.6231 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.00158/0.2981, allocations: 1.075 MB / 0.8025 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.2992, allocations: 390.7 kB / 0.8029 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2992, allocations: 0 / 0.8029 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.2997, allocations: 195.8 kB / 0.8031 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3001, allocations: 24.64 kB / 0.8031 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.3037, allocations: 1.857 MB / 0.8049 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.304, allocations: 0.7551 MB / 0.8057 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002611/0.3043, allocations: 45.39 kB / 0.8057 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3045, allocations: 79.39 kB / 0.8058 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.3045, allocations: 0 / 0.8058 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.322, allocations: 5.21 MB / 0.8109 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.3222, allocations: 204.8 kB / 0.8111 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.255, allocations: 0 / 0.8111 GB, free: 3.188 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) Environment - environmentSimulation: