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.001675/0.001675, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001794/0.001794, allocations: 191.2 kB / 17.2 MB, free: 5.598 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8125/0.8125, allocations: 126.7 MB / 417.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 55.91 kB / 0.4959 GB, free: 2.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3131, allocations: 78.86 MB / 0.5729 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002854/0.316, allocations: 2.037 MB / 0.5749 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.3198, allocations: 4.06 MB / 0.5788 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.3199, allocations: 1.375 kB / 0.5788 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.3206, allocations: 195.3 kB / 0.579 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3207, allocations: 67.3 kB / 0.5791 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.3213, allocations: 270.6 kB / 0.5793 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.3218, allocations: 372.5 kB / 0.5797 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3219, allocations: 59.14 kB / 0.5797 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.322, allocations: 112.1 kB / 0.5798 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3222, allocations: 126.1 kB / 0.58 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.3222, allocations: 17.72 kB / 0.58 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.3226, allocations: 301.8 kB / 0.5803 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.3227, allocations: 99.81 kB / 0.5804 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3228, allocations: 147.3 kB / 0.5805 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.3233, allocations: 0.5088 MB / 0.581 GB, free: 25.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3233, allocations: 0.625 kB / 0.581 GB, free: 25.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3233, allocations: 1.469 kB / 0.581 GB, free: 25.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3233, allocations: 5.125 kB / 0.581 GB, free: 25.18 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.001117/0.3244, allocations: 0.7372 MB / 0.5817 GB, free: 24.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3245, allocations: 9.438 kB / 0.5817 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.3245, allocations: 49.27 kB / 0.5818 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.3246, allocations: 37.34 kB / 0.5818 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.325, allocations: 332.5 kB / 0.5821 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.325, allocations: 16.17 kB / 0.5822 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3251, allocations: 5.094 kB / 0.5822 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.3256, allocations: 192.5 kB / 0.5823 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3256, allocations: 7.062 kB / 0.5824 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3256, allocations: 4 kB / 0.5824 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3256, allocations: 2.344 kB / 0.5824 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.3263, allocations: 246.8 kB / 0.5826 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.3271, allocations: 0.5962 MB / 0.5832 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.3275, allocations: 177.2 kB / 0.5833 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3279, allocations: 129.2 kB / 0.5835 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.3279, allocations: 20.77 kB / 0.5835 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.328, allocations: 33.72 kB / 0.5835 GB, free: 23.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.328, allocations: 0 / 0.5835 GB, free: 23.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00121/0.3292, allocations: 443.5 kB / 0.5839 GB, free: 23.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.3292, allocations: 60.53 kB / 0.584 GB, free: 23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.3295, allocations: 409.6 kB / 0.5844 GB, free: 22.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3296, allocations: 27.55 kB / 0.5844 GB, free: 22.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.3297, allocations: 185.9 kB / 0.5846 GB, free: 22.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.3297, allocations: 35.11 kB / 0.5846 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.3298, allocations: 46.09 kB / 0.5847 GB, free: 22.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.3298, allocations: 340.5 kB / 0.585 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.3302, allocations: 171.9 kB / 0.5852 GB, free: 22.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.3306, allocations: 171.2 kB / 0.5853 GB, free: 22.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.3314, allocations: 349.7 kB / 0.5857 GB, free: 21.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3314, allocations: 0 / 0.5857 GB, free: 21.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009024/0.3323, allocations: 474.1 kB / 0.5861 GB, free: 21.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.3324, allocations: 47 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3324, allocations: 0 / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3324, allocations: 8.984 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.3327, allocations: 43.3 kB / 0.5862 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3327, allocations: 0 / 0.5862 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.333, allocations: 39.7 kB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.333, allocations: 11.69 kB / 0.5863 GB, free: 21.55 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.000108/0.3331, allocations: 151.7 kB / 0.5864 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.3332, allocations: 30.09 kB / 0.5864 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.334, allocations: 348.8 kB / 0.5868 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3341, allocations: 9.375 kB / 0.5868 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3341, allocations: 2.375 kB / 0.5868 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3341, allocations: 0 / 0.5868 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3344, allocations: 347 kB / 0.5871 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3344, allocations: 0 / 0.5871 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.3347, allocations: 43.05 kB / 0.5871 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3347, allocations: 0 / 0.5871 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3347, allocations: 7.797 kB / 0.5871 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3347, allocations: 3.938 kB / 0.5872 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3347, allocations: 5.094 kB / 0.5872 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.3355, allocations: 424.7 kB / 0.5876 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/0.3356, allocations: 126.5 kB / 0.5877 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3357, allocations: 5.109 kB / 0.5877 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.336, allocations: 32.44 kB / 0.5877 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.336, allocations: 16.66 kB / 0.5877 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.336, allocations: 3.75 kB / 0.5877 GB, free: 20.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.3363, allocations: 290.7 kB / 0.588 GB, free: 20.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3363, allocations: 0 / 0.588 GB, free: 20.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.3367, allocations: 118.1 kB / 0.5881 GB, free: 20.26 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.001147/0.3379, allocations: 1.019 MB / 0.5891 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009558/0.3388, allocations: 0.5077 MB / 0.5896 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3389, allocations: 0 / 0.5896 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.3393, allocations: 138.6 kB / 0.5898 GB, free: 19.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.3398, allocations: 68.55 kB / 0.5898 GB, free: 19.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.3445, allocations: 4.192 MB / 0.5939 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3447, allocations: 0.7866 MB / 0.5947 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.3449, allocations: 49.5 kB / 0.5947 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.345, allocations: 99.39 kB / 0.5948 GB, free: 14.87 MB / 446.1 MB Notification: Performance of SimCode: time 4.9e-07/0.345, allocations: 7.938 kB / 0.5948 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5654/0.9104, allocations: 8.228 MB / 0.6029 GB, free: 6.809 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.73, allocations: 10.78 kB / 0.6029 GB, free: 6.805 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)