Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_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.004679/0.004679, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001055/0.001055, allocations: 190.4 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 66.47 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2261, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003195/0.2294, allocations: 2.14 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.2338, allocations: 3.785 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.2339, allocations: 7.938 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.2342, allocations: 59.55 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.2346, allocations: 123.1 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.235, allocations: 151.6 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.2354, allocations: 306.9 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2355, allocations: 57.23 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.2358, allocations: 139.4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.236, allocations: 147.4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.2361, allocations: 23.94 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.2363, allocations: 131.8 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.2364, allocations: 63.75 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2365, allocations: 119.3 kB / 1.095 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.2369, allocations: 343.1 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.237, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.237, allocations: 4 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.237, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 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.001232/0.2382, allocations: 0.627 MB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2383, allocations: 8.031 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.2383, allocations: 38.75 kB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009803/0.2393, allocations: 180.3 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.2401, allocations: 332.2 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2401, allocations: 12.31 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.2401, allocations: 15.98 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.2408, allocations: 223.1 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2408, allocations: 3.938 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.2408, allocations: 4 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2409, allocations: 4 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009975/0.2419, allocations: 279.7 kB / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2432, allocations: 0.5784 MB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.2437, allocations: 166.4 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.2443, allocations: 152.7 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008189/0.2451, allocations: 0.5571 MB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2451, allocations: 30.56 kB / 1.098 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.624e-06/0.2451, allocations: 4 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.001712/0.2469, allocations: 481.2 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2469, allocations: 55.41 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.2471, allocations: 268.4 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2472, allocations: 29.7 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.2473, allocations: 148 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.2473, allocations: 43.3 kB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.2474, allocations: 45.69 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2475, allocations: 338.8 kB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.2481, allocations: 143.9 kB / 1.099 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.2486, allocations: 151.8 kB / 1.1 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2496, allocations: 290.2 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2497, allocations: 0 / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001169/0.2508, allocations: 374.7 kB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2509, allocations: 8 kB / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2509, allocations: 0 / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2509, allocations: 3.938 kB / 1.1 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.2514, allocations: 63.92 kB / 1.1 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2514, allocations: 0 / 1.1 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.2517, allocations: 55.72 kB / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.2518, allocations: 4 kB / 1.1 GB, free: 4.402 MB / 0.8575 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.0001388/0.2519, allocations: 137.8 kB / 1.1 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.252, allocations: 23.72 kB / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.2532, allocations: 374 kB / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2533, allocations: 0 / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2533, allocations: 0 / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2533, allocations: 7.938 kB / 1.101 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.2536, allocations: 305.4 kB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2536, allocations: 0 / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.254, allocations: 63.86 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2541, allocations: 0 / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.2541, allocations: 11.98 kB / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2541, allocations: 0 / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2541, allocations: 4 kB / 1.101 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.2553, allocations: 446.9 kB / 1.102 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2554, allocations: 128.6 kB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.2555, allocations: 4 kB / 1.102 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.2558, allocations: 31.95 kB / 1.102 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.2559, allocations: 23.91 kB / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2559, allocations: 7.938 kB / 1.102 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000158/0.2561, allocations: 191.1 kB / 1.102 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2561, allocations: 0 / 1.102 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000355/0.2565, allocations: 67.92 kB / 1.102 GB, free: 2.512 MB / 0.8575 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.001541/0.258, allocations: 1.009 MB / 1.103 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.2592, allocations: 323.7 kB / 1.103 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2592, allocations: 0 / 1.103 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.2598, allocations: 169.3 kB / 1.104 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.2602, allocations: 42.06 kB / 1.104 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.2655, allocations: 2.877 MB / 1.106 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.2658, allocations: 0.7474 MB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.266, allocations: 53.38 kB / 1.107 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.2662, allocations: 75.39 kB / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/0.2662, allocations: 0 / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.485/1.752, allocations: 5.83 MB / 1.113 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/13.01, allocations: 13.34 kB / 1.113 GB, free: 7.426 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)