Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001665/0.001665, allocations: 109 kB / 15.99 MB, free: 6.344 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.00177/0.001771, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.73/0.73, allocations: 126.7 MB / 417.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 59.91 kB / 0.4954 GB, free: 3.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.276, allocations: 78.87 MB / 0.5724 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002354/0.2784, allocations: 1.926 MB / 0.5743 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.2813, allocations: 3.552 MB / 0.5777 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.2813, allocations: 1.312 kB / 0.5777 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.2819, allocations: 182.2 kB / 0.5779 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.2821, allocations: 72.06 kB / 0.578 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.996e-05/0.2821, allocations: 23 kB / 0.578 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.2825, allocations: 271.4 kB / 0.5782 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.2826, allocations: 24.34 kB / 0.5783 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.2827, allocations: 76.36 kB / 0.5783 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2828, allocations: 82.31 kB / 0.5784 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.2829, allocations: 7.438 kB / 0.5784 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.2829, allocations: 33.03 kB / 0.5785 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.283, allocations: 54.97 kB / 0.5785 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.2831, allocations: 87.25 kB / 0.5786 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.2833, allocations: 199.6 kB / 0.5788 GB, free: 26.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.2833, allocations: 0 / 0.5788 GB, free: 26.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2833, allocations: 1.125 kB / 0.5788 GB, free: 26.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2833, allocations: 3.938 kB / 0.5788 GB, free: 26.52 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006852/0.284, allocations: 0.5244 MB / 0.5793 GB, free: 26.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.284, allocations: 10.23 kB / 0.5793 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.2841, allocations: 43.25 kB / 0.5794 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.2841, allocations: 22.84 kB / 0.5794 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.2844, allocations: 249.1 kB / 0.5796 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.2844, allocations: 6.625 kB / 0.5796 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2844, allocations: 2.5 kB / 0.5796 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.2847, allocations: 146.6 kB / 0.5798 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2847, allocations: 1.375 kB / 0.5798 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2848, allocations: 0.625 kB / 0.5798 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2848, allocations: 23.78 kB / 0.5798 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.2852, allocations: 137.9 kB / 0.5799 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.2857, allocations: 458.2 kB / 0.5804 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.2861, allocations: 174 kB / 0.5805 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.2863, allocations: 106.4 kB / 0.5806 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2863, allocations: 2.312 kB / 0.5806 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.2863, allocations: 32.78 kB / 0.5807 GB, free: 25.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.2863, allocations: 1.156 kB / 0.5807 GB, free: 25.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007081/0.2871, allocations: 298.9 kB / 0.5809 GB, free: 24.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.2871, allocations: 56.75 kB / 0.581 GB, free: 24.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2873, allocations: 248 kB / 0.5812 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2873, allocations: 29.69 kB / 0.5813 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.2873, allocations: 137.4 kB / 0.5814 GB, free: 24.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.2874, allocations: 44.83 kB / 0.5814 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.2874, allocations: 31.64 kB / 0.5815 GB, free: 24.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.2875, allocations: 333.1 kB / 0.5818 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2877, allocations: 71.5 kB / 0.5818 GB, free: 24.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2879, allocations: 75.06 kB / 0.5819 GB, free: 24.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.2882, allocations: 167.5 kB / 0.5821 GB, free: 23.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2882, allocations: 1.469 kB / 0.5821 GB, free: 23.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004312/0.2887, allocations: 220.6 kB / 0.5823 GB, free: 23.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.2887, allocations: 8.219 kB / 0.5823 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2887, allocations: 0 / 0.5823 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2887, allocations: 0 / 0.5823 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2889, allocations: 36.75 kB / 0.5823 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2889, allocations: 10.42 kB / 0.5823 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.2891, allocations: 18.52 kB / 0.5824 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.2891, allocations: 7.562 kB / 0.5824 GB, free: 23.8 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 (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 prepare postOptimizeDAE: time 7.486e-05/0.2892, allocations: 132.1 kB / 0.5825 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.2892, allocations: 27.09 kB / 0.5825 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.2893, allocations: 31.44 kB / 0.5826 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2893, allocations: 4.531 kB / 0.5826 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2893, allocations: 3.938 kB / 0.5826 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2893, allocations: 9.203 kB / 0.5826 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2895, allocations: 271.8 kB / 0.5828 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2895, allocations: 0 / 0.5828 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.2897, allocations: 36.69 kB / 0.5829 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2897, allocations: 1.188 kB / 0.5829 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2898, allocations: 9.453 kB / 0.5829 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2898, allocations: 1.406 kB / 0.5829 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2898, allocations: 5.938 kB / 0.5829 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.2902, allocations: 310.8 kB / 0.5832 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.2903, allocations: 115 kB / 0.5833 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.2904, allocations: 7.375 kB / 0.5833 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2905, allocations: 11.58 kB / 0.5833 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2906, allocations: 20.67 kB / 0.5833 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2906, allocations: 4.25 kB / 0.5833 GB, free: 22.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2907, allocations: 181.5 kB / 0.5835 GB, free: 22.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2907, allocations: 2.062 kB / 0.5835 GB, free: 22.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.291, allocations: 42.53 kB / 0.5835 GB, free: 22.84 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.0006098/0.2916, allocations: 0.8488 MB / 0.5844 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.292, allocations: 195.2 kB / 0.5846 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2921, allocations: 2.062 kB / 0.5846 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2923, allocations: 93.09 kB / 0.5846 GB, free: 21.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.2927, allocations: 64.02 kB / 0.5847 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.2952, allocations: 2.444 MB / 0.5871 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2953, allocations: 0.7426 MB / 0.5878 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.2955, allocations: 53.77 kB / 0.5879 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.2956, allocations: 67.28 kB / 0.5879 GB, free: 19.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2956, allocations: 0 / 0.5879 GB, free: 19.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.996/2.292, allocations: 4.591 MB / 0.5924 GB, free: 17.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/2.292, allocations: 215.1 kB / 0.5926 GB, free: 16.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.006/6.298, allocations: 0 / 0.5926 GB, free: 16.88 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)