Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 110.6 kB / 18.32 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 186 kB / 21.5 MB, free: 0.8164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 250.1 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8524/0.8524, allocations: 128.4 MB / 433.6 MB, free: 13 MB / 350.1 MB " [Timeout remaining time 179] 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.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.91 kB / 0.6004 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4217, allocations: 83.26 MB / 0.6817 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002333/0.424, allocations: 1.524 MB / 0.6832 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.4246, allocations: 426.9 kB / 0.6836 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.4246, allocations: 0.9688 kB / 0.6836 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.4247, allocations: 3.938 kB / 0.6836 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.4247, allocations: 17.53 kB / 0.6836 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.4249, allocations: 15.23 kB / 0.6836 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.4249, allocations: 55.86 kB / 0.6837 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.425, allocations: 12.8 kB / 0.6837 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.4251, allocations: 25.41 kB / 0.6837 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.4252, allocations: 19.52 kB / 0.6837 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4252, allocations: 7.219 kB / 0.6837 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.4252, allocations: 3.281 kB / 0.6837 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.4252, allocations: 13.02 kB / 0.6838 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.4253, allocations: 21.53 kB / 0.6838 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.792e-05/0.4254, allocations: 47.14 kB / 0.6838 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4254, allocations: 0 / 0.6838 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4254, allocations: 0 / 0.6838 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4254, allocations: 5.094 kB / 0.6838 GB, free: 5.059 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004297/0.4258, allocations: 355.9 kB / 0.6842 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4258, allocations: 9.312 kB / 0.6842 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.325e-05/0.4259, allocations: 31.75 kB / 0.6842 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.4259, allocations: 8.234 kB / 0.6842 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.426, allocations: 183.7 kB / 0.6844 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.426, allocations: 5.188 kB / 0.6844 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.426, allocations: 1.094 kB / 0.6844 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.4262, allocations: 63.27 kB / 0.6844 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4262, allocations: 0 / 0.6844 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.4262, allocations: 5.125 kB / 0.6845 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4262, allocations: 0 / 0.6845 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4263, allocations: 32.78 kB / 0.6845 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.4266, allocations: 269.4 kB / 0.6847 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4267, allocations: 40.41 kB / 0.6848 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.4268, allocations: 31.09 kB / 0.6848 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.4268, allocations: 1.094 kB / 0.6848 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.4268, allocations: 35.94 kB / 0.6848 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.051e-06/0.4268, allocations: 0 / 0.6848 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000294/0.4271, allocations: 91.69 kB / 0.6849 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.4271, allocations: 52.84 kB / 0.685 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.4272, allocations: 119.3 kB / 0.6851 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.4272, allocations: 27.27 kB / 0.6851 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.4272, allocations: 93.12 kB / 0.6852 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.4273, allocations: 14.47 kB / 0.6852 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.4273, allocations: 12.06 kB / 0.6852 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.4273, allocations: 328.2 kB / 0.6856 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.4274, allocations: 21.55 kB / 0.6856 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.4274, allocations: 13.55 kB / 0.6856 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.4276, allocations: 41.95 kB / 0.6856 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4276, allocations: 0 / 0.6856 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001509/0.4277, allocations: 71.5 kB / 0.6857 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4277, allocations: 9.469 kB / 0.6857 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4277, allocations: 0 / 0.6857 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4278, allocations: 1.031 kB / 0.6857 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.4278, allocations: 14.23 kB / 0.6857 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4279, allocations: 5.062 kB / 0.6857 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.4279, allocations: 6.562 kB / 0.6857 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.4279, allocations: 1.469 kB / 0.6857 GB, free: 3.125 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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 4.797e-05/0.428, allocations: 116.3 kB / 0.6858 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.428, allocations: 10.17 kB / 0.6858 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.428, allocations: 9.5 kB / 0.6859 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.428, allocations: 1.719 kB / 0.6859 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.428, allocations: 0 / 0.6859 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.428, allocations: 3.938 kB / 0.6859 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.4281, allocations: 167.4 kB / 0.686 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4281, allocations: 0 / 0.686 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.4282, allocations: 10.14 kB / 0.686 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4282, allocations: 1.219 kB / 0.686 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4282, allocations: 0 / 0.686 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4282, allocations: 5.156 kB / 0.686 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.4282, allocations: 3.984 kB / 0.686 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.4284, allocations: 170.5 kB / 0.6862 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.4284, allocations: 82.08 kB / 0.6863 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4284, allocations: 9.266 kB / 0.6863 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.4285, allocations: 2.844 kB / 0.6863 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4285, allocations: 5.531 kB / 0.6863 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.4285, allocations: 9.344 kB / 0.6863 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.4286, allocations: 92.05 kB / 0.6864 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4286, allocations: 0 / 0.6864 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002142/0.4288, allocations: 10.83 kB / 0.6864 GB, free: 2.406 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.0003385/0.4291, allocations: 0.6979 MB / 0.6871 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.4293, allocations: 46.39 kB / 0.6871 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4293, allocations: 0 / 0.6871 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.4294, allocations: 19.83 kB / 0.6872 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.4296, allocations: 7.469 kB / 0.6872 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.4301, allocations: 207.8 kB / 0.6874 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.4302, allocations: 0.6852 MB / 0.688 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.4302, allocations: 10.75 kB / 0.688 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.4302, allocations: 16.69 kB / 0.6881 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.4302, allocations: 0 / 0.6881 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.4542, allocations: 1.472 MB / 0.6895 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.252, allocations: 18.78 kB / 0.6895 GB, free: 15.96 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.618533698987449] Failed to read output from testmodel.py, exit status != 0: 8.31694439300918 8.331148814 7.902876417 Calling exit ...