Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001568/0.001568, allocations: 104.4 kB / 15.98 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.001548/0.001548, allocations: 194.2 kB / 16.91 MB, free: 6.195 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.279/1.279, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7477/0.7477, allocations: 126.7 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 63.89 kB / 0.4954 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2898, allocations: 78.87 MB / 0.5724 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002582/0.2924, allocations: 2.089 MB / 0.5744 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.2961, allocations: 4.009 MB / 0.5783 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.2962, allocations: 2.219 kB / 0.5783 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.2969, allocations: 197.9 kB / 0.5785 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.297, allocations: 59.64 kB / 0.5786 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.2976, allocations: 229 kB / 0.5788 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.2981, allocations: 389 kB / 0.5792 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.2982, allocations: 48.31 kB / 0.5792 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.2983, allocations: 116.8 kB / 0.5793 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2984, allocations: 134 kB / 0.5794 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.2985, allocations: 16 kB / 0.5795 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.2988, allocations: 306.6 kB / 0.5798 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.2989, allocations: 103 kB / 0.5799 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.299, allocations: 145.8 kB / 0.58 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.2994, allocations: 0.51 MB / 0.5805 GB, free: 25.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2994, allocations: 0.8438 kB / 0.5805 GB, free: 25.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2994, allocations: 0 / 0.5805 GB, free: 25.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2994, allocations: 2.844 kB / 0.5805 GB, free: 25.36 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001007/0.3004, allocations: 0.7399 MB / 0.5812 GB, free: 24.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3005, allocations: 8.656 kB / 0.5812 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.3005, allocations: 43.2 kB / 0.5813 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.3006, allocations: 39.56 kB / 0.5813 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.3009, allocations: 338 kB / 0.5816 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.301, allocations: 12.53 kB / 0.5816 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.301, allocations: 7.094 kB / 0.5816 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.3014, allocations: 196.3 kB / 0.5818 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3014, allocations: 0 / 0.5818 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3014, allocations: 9.422 kB / 0.5818 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3015, allocations: 5.062 kB / 0.5818 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.3021, allocations: 246.3 kB / 0.5821 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.3028, allocations: 0.5918 MB / 0.5827 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.3032, allocations: 178.1 kB / 0.5828 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.3035, allocations: 135.9 kB / 0.583 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.3035, allocations: 15.39 kB / 0.583 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.065e-05/0.3035, allocations: 35.69 kB / 0.583 GB, free: 23.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3035, allocations: 0 / 0.583 GB, free: 23.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001047/0.3046, allocations: 444.1 kB / 0.5834 GB, free: 23.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.526e-05/0.3046, allocations: 53.19 kB / 0.5835 GB, free: 23.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.3049, allocations: 414.8 kB / 0.5839 GB, free: 22.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3049, allocations: 30.73 kB / 0.5839 GB, free: 22.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.305, allocations: 176.8 kB / 0.5841 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3051, allocations: 43.84 kB / 0.5841 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.3051, allocations: 38.55 kB / 0.5842 GB, free: 22.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.3052, allocations: 348.4 kB / 0.5845 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.3055, allocations: 167.4 kB / 0.5846 GB, free: 22.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.3059, allocations: 175.3 kB / 0.5848 GB, free: 22.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.3065, allocations: 350.9 kB / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3065, allocations: 3.406 kB / 0.5852 GB, free: 22.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007698/0.3073, allocations: 467.6 kB / 0.5856 GB, free: 21.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.3073, allocations: 46 kB / 0.5856 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3073, allocations: 1.938 kB / 0.5856 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3074, allocations: 3.938 kB / 0.5856 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.3076, allocations: 46.56 kB / 0.5857 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3077, allocations: 1.031 kB / 0.5857 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.3079, allocations: 38.66 kB / 0.5857 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3079, allocations: 8.672 kB / 0.5857 GB, free: 21.73 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 (12): * Single equations (assignments): 11 * 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.0001035/0.308, allocations: 155.4 kB / 0.5859 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.3081, allocations: 29.97 kB / 0.5859 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.3088, allocations: 349.6 kB / 0.5862 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3088, allocations: 6.094 kB / 0.5863 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3088, allocations: 1.062 kB / 0.5863 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3088, allocations: 0 / 0.5863 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3091, allocations: 334.7 kB / 0.5866 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3091, allocations: 5.203 kB / 0.5866 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.3094, allocations: 45.8 kB / 0.5866 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3094, allocations: 1.062 kB / 0.5866 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3094, allocations: 10.33 kB / 0.5866 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3094, allocations: 9.031 kB / 0.5866 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3094, allocations: 4.641 kB / 0.5866 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.3101, allocations: 422.9 kB / 0.5871 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.3102, allocations: 127.5 kB / 0.5872 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.3102, allocations: 1.156 kB / 0.5872 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3105, allocations: 31.06 kB / 0.5872 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.3106, allocations: 17.12 kB / 0.5872 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3106, allocations: 5.125 kB / 0.5872 GB, free: 20.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3108, allocations: 285.9 kB / 0.5875 GB, free: 20.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 0 / 0.5875 GB, free: 20.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003741/0.3112, allocations: 117.8 kB / 0.5876 GB, free: 20.45 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 (11): * Single equations (assignments): 11 * 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.00102/0.3122, allocations: 1.029 MB / 0.5886 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008318/0.313, allocations: 0.5102 MB / 0.5891 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3131, allocations: 0 / 0.5891 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.3134, allocations: 142.3 kB / 0.5892 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3139, allocations: 59.25 kB / 0.5893 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.3181, allocations: 4.264 MB / 0.5935 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3183, allocations: 0.7905 MB / 0.5942 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.3185, allocations: 45.52 kB / 0.5943 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3186, allocations: 111.4 kB / 0.5944 GB, free: 14.96 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3186, allocations: 0 / 0.5944 GB, free: 14.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.324/1.642, allocations: 7.929 MB / 0.6021 GB, free: 7.254 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.642, allocations: 214.9 kB / 0.6023 GB, free: 7.004 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/5.694, allocations: 0 / 0.6023 GB, free: 7.004 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)