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.001061/0.001061, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.645/1.645, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002431/0.002431, allocations: 68.78 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2166, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003141/0.2197, allocations: 2.146 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.2237, allocations: 3.791 MB / 0.7894 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.2238, allocations: 0 / 0.7894 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.2241, allocations: 55.56 kB / 0.7895 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.2244, allocations: 127.1 kB / 0.7896 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2247, allocations: 147.6 kB / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2251, allocations: 318.8 kB / 0.79 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2252, allocations: 60.7 kB / 0.7901 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.2254, allocations: 127.5 kB / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2256, allocations: 143.4 kB / 0.7904 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2256, allocations: 20 kB / 0.7904 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.2259, allocations: 135.8 kB / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.2259, allocations: 63.69 kB / 0.7906 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.226, allocations: 123.3 kB / 0.7907 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.2264, allocations: 338.8 kB / 0.791 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2264, allocations: 0 / 0.791 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2264, allocations: 3.938 kB / 0.791 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2264, allocations: 4 kB / 0.791 GB, free: 5.668 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.001114/0.2275, allocations: 0.627 MB / 0.7916 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2276, allocations: 16.02 kB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.2276, allocations: 42.75 kB / 0.7917 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.2285, allocations: 176.3 kB / 0.7919 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.2292, allocations: 316.3 kB / 0.7922 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2292, allocations: 12.31 kB / 0.7922 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.2292, allocations: 12 kB / 0.7922 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.2299, allocations: 227.8 kB / 0.7924 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2299, allocations: 0 / 0.7924 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.2299, allocations: 4 kB / 0.7924 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2299, allocations: 0 / 0.7924 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/0.2309, allocations: 287.7 kB / 0.7927 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2321, allocations: 0.5783 MB / 0.7932 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.2326, allocations: 169.5 kB / 0.7934 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.2331, allocations: 156.7 kB / 0.7936 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.2339, allocations: 0.5493 MB / 0.7941 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2339, allocations: 38.56 kB / 0.7941 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.2339, allocations: 0 / 0.7941 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001582/0.2355, allocations: 493.1 kB / 0.7946 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.2355, allocations: 55.41 kB / 0.7946 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.2358, allocations: 268.5 kB / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.2358, allocations: 29.7 kB / 0.7949 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.2359, allocations: 148 kB / 0.7951 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.236, allocations: 47.3 kB / 0.7951 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.2361, allocations: 37.69 kB / 0.7952 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2362, allocations: 338.8 kB / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.2367, allocations: 147.9 kB / 0.7956 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.2372, allocations: 143.9 kB / 0.7958 GB, free: 492 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.2381, allocations: 295.7 kB / 0.796 GB, free: 196 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2381, allocations: 0 / 0.796 GB, free: 196 kB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001082/0.2392, allocations: 365 kB / 0.7964 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2392, allocations: 8 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2392, allocations: 0 / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2393, allocations: 3.984 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.2397, allocations: 71.86 kB / 0.7965 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2397, allocations: 0 / 0.7965 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.24, allocations: 51.73 kB / 0.7965 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.24, allocations: 11.98 kB / 0.7965 GB, free: 15.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2402, allocations: 121.8 kB / 0.7966 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.2402, allocations: 31.61 kB / 0.7967 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2414, allocations: 383.2 kB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2414, allocations: 4 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2414, allocations: 0 / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2414, allocations: 3.938 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.2417, allocations: 301.5 kB / 0.7973 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2417, allocations: 3.984 kB / 0.7973 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.2421, allocations: 63.92 kB / 0.7974 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2421, allocations: 0 / 0.7974 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2421, allocations: 4 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2421, allocations: 0 / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2421, allocations: 3.984 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2432, allocations: 450 kB / 0.7978 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2433, allocations: 120.7 kB / 0.7979 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.2434, allocations: 8 kB / 0.798 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.2437, allocations: 47.81 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.2438, allocations: 15.92 kB / 0.798 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.2438, allocations: 7.984 kB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001495/0.2439, allocations: 187.1 kB / 0.7982 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2439, allocations: 0 / 0.7982 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003255/0.2443, allocations: 67.98 kB / 0.7983 GB, free: 13.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/0.2457, allocations: 1.009 MB / 0.7993 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.2468, allocations: 327.7 kB / 0.7996 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2468, allocations: 0 / 0.7996 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.2473, allocations: 155.8 kB / 0.7997 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.2478, allocations: 45.58 kB / 0.7998 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.2525, allocations: 2.885 MB / 0.8026 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.2528, allocations: 0.7474 MB / 0.8033 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.253, allocations: 49.38 kB / 0.8034 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.2532, allocations: 75.39 kB / 0.8034 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.2532, allocations: 0 / 0.8034 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.2733, allocations: 5.759 MB / 0.809 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.61, allocations: 18 kB / 0.8091 GB, free: 2.781 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/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)