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.001392/0.001392, allocations: 101.4 kB / 15.7 MB, free: 28 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.001335/0.001335, allocations: 196.3 kB / 16.64 MB, free: 6.477 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.296/1.296, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.652/1.652, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001421/0.001422, allocations: 70.64 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2212, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003531/0.2248, allocations: 2.143 MB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004397/0.2292, allocations: 3.78 MB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.2293, allocations: 4 kB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.2296, allocations: 67.48 kB / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.23, allocations: 115.2 kB / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.2303, allocations: 151.6 kB / 0.7897 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.2307, allocations: 314.8 kB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2309, allocations: 60.7 kB / 0.7901 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.2311, allocations: 127.5 kB / 0.7902 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.2313, allocations: 159.3 kB / 0.7904 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.2313, allocations: 20 kB / 0.7904 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.2316, allocations: 131.8 kB / 0.7905 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.2316, allocations: 59.81 kB / 0.7906 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2318, allocations: 119.3 kB / 0.7907 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.2321, allocations: 342.8 kB / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2321, allocations: 0 / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2321, allocations: 0 / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.2322, allocations: 0 / 0.791 GB, free: 5.645 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.001168/0.2333, allocations: 0.6425 MB / 0.7916 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2334, allocations: 8.031 kB / 0.7917 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.2334, allocations: 38.75 kB / 0.7917 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.2343, allocations: 172.4 kB / 0.7919 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006791/0.235, allocations: 332.2 kB / 0.7922 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2351, allocations: 16.31 kB / 0.7922 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2351, allocations: 8 kB / 0.7922 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.2358, allocations: 219.9 kB / 0.7924 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2358, allocations: 3.984 kB / 0.7924 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.2358, allocations: 8 kB / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2358, allocations: 0 / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009655/0.2368, allocations: 279.7 kB / 0.7927 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.238, allocations: 0.5861 MB / 0.7933 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.2385, allocations: 174.4 kB / 0.7934 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.239, allocations: 152.7 kB / 0.7936 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/0.2398, allocations: 0.5493 MB / 0.7941 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2399, allocations: 42.55 kB / 0.7941 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2399, allocations: 0 / 0.7941 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001616/0.2415, allocations: 484.5 kB / 0.7946 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.2415, allocations: 59.41 kB / 0.7947 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.2418, allocations: 264.5 kB / 0.7949 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2418, allocations: 33.64 kB / 0.7949 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.2419, allocations: 148 kB / 0.7951 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.242, allocations: 43.3 kB / 0.7951 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.2421, allocations: 41.69 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2422, allocations: 338.8 kB / 0.7955 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.2427, allocations: 147.9 kB / 0.7956 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.2432, allocations: 150.5 kB / 0.7958 GB, free: 448 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009563/0.2442, allocations: 284.6 kB / 0.796 GB, free: 160 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2442, allocations: 0 / 0.796 GB, free: 160 kB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001123/0.2453, allocations: 361 kB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.2454, allocations: 14.95 kB / 0.7964 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2454, allocations: 4 kB / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2454, allocations: 0 / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.2459, allocations: 67.86 kB / 0.7965 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2459, allocations: 0 / 0.7965 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.2462, allocations: 51.73 kB / 0.7965 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.2462, allocations: 7.984 kB / 0.7965 GB, free: 15.66 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.0001398/0.2464, allocations: 133.8 kB / 0.7967 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.2464, allocations: 27.62 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.2476, allocations: 375.3 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2477, allocations: 4 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2477, allocations: 0 / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2477, allocations: 3.938 kB / 0.7971 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.248, allocations: 309.4 kB / 0.7973 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.248, allocations: 0 / 0.7973 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.2484, allocations: 55.92 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2484, allocations: 4 kB / 0.7974 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.2484, allocations: 11.98 kB / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2485, allocations: 7.938 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2485, allocations: 0 / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.2496, allocations: 442.8 kB / 0.7978 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2497, allocations: 120.7 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.2498, allocations: 8 kB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.2501, allocations: 35.95 kB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.2502, allocations: 23.91 kB / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2502, allocations: 4 kB / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000158/0.2504, allocations: 191 kB / 0.7982 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2504, allocations: 0 / 0.7982 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003352/0.2507, allocations: 67.98 kB / 0.7983 GB, free: 13.77 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.001508/0.2522, allocations: 1.013 MB / 0.7993 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.2533, allocations: 323 kB / 0.7996 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2533, allocations: 4 kB / 0.7996 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.2539, allocations: 159.8 kB / 0.7997 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.2543, allocations: 44.34 kB / 0.7998 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.2593, allocations: 2.877 MB / 0.8026 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2596, allocations: 0.7513 MB / 0.8033 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.2599, allocations: 41.39 kB / 0.8034 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.26, allocations: 79.39 kB / 0.8034 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.26, allocations: 0 / 0.8034 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.2824, allocations: 5.776 MB / 0.8091 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.942, allocations: 19 kB / 0.8091 GB, free: 2.738 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)