Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_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.001243/0.001243, allocations: 104.9 kB / 16.27 MB, free: 5.93 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.001199/0.001199, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8321/0.8321, allocations: 126.7 MB / 417.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.91 kB / 0.4959 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2834, allocations: 78.87 MB / 0.5729 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002944/0.2864, allocations: 2.145 MB / 0.575 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.2901, allocations: 4.074 MB / 0.5789 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.2902, allocations: 3.188 kB / 0.579 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.2908, allocations: 184 kB / 0.5791 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2909, allocations: 85.34 kB / 0.5792 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.2915, allocations: 284 kB / 0.5795 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.2919, allocations: 427.5 kB / 0.5799 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2921, allocations: 62.5 kB / 0.5799 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2922, allocations: 143.2 kB / 0.5801 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2924, allocations: 154.8 kB / 0.5802 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.2924, allocations: 21.59 kB / 0.5803 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.2928, allocations: 311.5 kB / 0.5805 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.2929, allocations: 120.6 kB / 0.5807 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.293, allocations: 170.5 kB / 0.5808 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.2935, allocations: 0.56 MB / 0.5814 GB, free: 25.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2935, allocations: 3.938 kB / 0.5814 GB, free: 25.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2935, allocations: 0.9375 kB / 0.5814 GB, free: 25.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2935, allocations: 0.5625 kB / 0.5814 GB, free: 25.2 MB / 446.1 MB 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.001201/0.2948, allocations: 0.7884 MB / 0.5821 GB, free: 24.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2948, allocations: 11.31 kB / 0.5822 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.2948, allocations: 49.42 kB / 0.5822 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009906/0.2958, allocations: 175.9 kB / 0.5824 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.2965, allocations: 394 kB / 0.5827 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2966, allocations: 9.531 kB / 0.5828 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.2966, allocations: 6.438 kB / 0.5828 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.2973, allocations: 251.8 kB / 0.583 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2973, allocations: 2.875 kB / 0.583 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2973, allocations: 5.75 kB / 0.583 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2973, allocations: 5.75 kB / 0.583 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.2983, allocations: 330.1 kB / 0.5833 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.2996, allocations: 0.684 MB / 0.584 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.3002, allocations: 217.6 kB / 0.5842 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.3007, allocations: 176.6 kB / 0.5844 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.3008, allocations: 24.86 kB / 0.5844 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.3008, allocations: 32.94 kB / 0.5844 GB, free: 23.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3008, allocations: 0.5625 kB / 0.5844 GB, free: 23.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.001737/0.3025, allocations: 0.5705 MB / 0.585 GB, free: 22.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.562e-05/0.3026, allocations: 56.5 kB / 0.585 GB, free: 22.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.3029, allocations: 435 kB / 0.5855 GB, free: 22.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3029, allocations: 31.23 kB / 0.5855 GB, free: 22.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.303, allocations: 188.5 kB / 0.5857 GB, free: 22.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3031, allocations: 44.75 kB / 0.5857 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.3032, allocations: 57.2 kB / 0.5858 GB, free: 22.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.3032, allocations: 350.2 kB / 0.5861 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.3039, allocations: 293.5 kB / 0.5864 GB, free: 21.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/0.3045, allocations: 297.5 kB / 0.5867 GB, free: 21.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.3057, allocations: 0.505 MB / 0.5872 GB, free: 21.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3057, allocations: 0 / 0.5872 GB, free: 21.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001385/0.3071, allocations: 0.7231 MB / 0.5879 GB, free: 20.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.3071, allocations: 45.09 kB / 0.5879 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3071, allocations: 0 / 0.5879 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3071, allocations: 5.344 kB / 0.5879 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.3076, allocations: 70.17 kB / 0.588 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3076, allocations: 1.344 kB / 0.588 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.308, allocations: 54.69 kB / 0.588 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.308, allocations: 6.656 kB / 0.588 GB, free: 20.89 MB / 446.1 MB 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001232/0.3081, allocations: 165.6 kB / 0.5882 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.3082, allocations: 35.72 kB / 0.5882 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.3094, allocations: 437 kB / 0.5886 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3094, allocations: 4.906 kB / 0.5887 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3094, allocations: 4 kB / 0.5887 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3095, allocations: 4.922 kB / 0.5887 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.3098, allocations: 373.8 kB / 0.589 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3098, allocations: 3.938 kB / 0.589 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3102, allocations: 64.97 kB / 0.5891 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3102, allocations: 1.531 kB / 0.5891 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3102, allocations: 1.188 kB / 0.5891 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3102, allocations: 5.344 kB / 0.5891 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3102, allocations: 0 / 0.5891 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3114, allocations: 0.4966 MB / 0.5896 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3115, allocations: 135.6 kB / 0.5897 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.3115, allocations: 5.062 kB / 0.5897 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.3119, allocations: 44.69 kB / 0.5898 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.312, allocations: 13.3 kB / 0.5898 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.312, allocations: 7.922 kB / 0.5898 GB, free: 19.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3123, allocations: 313 kB / 0.5901 GB, free: 19.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3123, allocations: 1.531 kB / 0.5901 GB, free: 19.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.3127, allocations: 122.5 kB / 0.5902 GB, free: 19.43 MB / 446.1 MB 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.001476/0.3142, allocations: 1.112 MB / 0.5913 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.3155, allocations: 0.6839 MB / 0.5919 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3155, allocations: 3.938 kB / 0.5919 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.3161, allocations: 187.8 kB / 0.5921 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.3165, allocations: 65.84 kB / 0.5922 GB, free: 17.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.3224, allocations: 5.233 MB / 0.5973 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.3225, allocations: 0.7983 MB / 0.5981 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.3228, allocations: 53.92 kB / 0.5981 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.323, allocations: 115.4 kB / 0.5982 GB, free: 11.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.323, allocations: 0 / 0.5982 GB, free: 11.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.3505, allocations: 9.016 MB / 0.607 GB, free: 2.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.014, allocations: 14.58 kB / 0.6071 GB, free: 2.684 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)