Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 114.2 kB / 17.84 MB, free: 5.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 207.1 kB / 20.8 MB, free: 2.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.082/1.082, allocations: 150 MB / 460.2 MB, free: 5.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 66.69 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1588, allocations: 89.14 MB / 0.7238 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6992/0.858, allocations: 228.7 MB / 0.9472 GB, free: 1.508 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.8748, allocations: 12.69 MB / 0.9596 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.8784, allocations: 96.72 kB / 0.9597 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.8818, allocations: 1.235 MB / 0.9609 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008319/0.8901, allocations: 3.278 MB / 0.9641 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.8951, allocations: 1.839 MB / 0.9659 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005831/0.9009, allocations: 4.165 MB / 0.97 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.903, allocations: 1.178 MB / 0.9711 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005575/0.9085, allocations: 2.179 MB / 0.9732 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.9118, allocations: 1.467 MB / 0.9747 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004794/0.9122, allocations: 180.4 kB / 0.9748 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006215/0.9185, allocations: 2.804 MB / 0.9776 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.9198, allocations: 1.003 MB / 0.9786 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.922, allocations: 1.445 MB / 0.98 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.9296, allocations: 4.834 MB / 0.9847 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9296, allocations: 0 / 0.9847 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9296, allocations: 0 / 0.9847 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.336e-05/0.9297, allocations: 3.938 kB / 0.9847 GB, free: 0.6602 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.008125/0.9378, allocations: 3.478 MB / 0.9881 GB, free: 13.12 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.9379, allocations: 12.03 kB / 0.9881 GB, free: 13.11 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.418e-05/0.9379, allocations: 26.09 kB / 0.9881 GB, free: 13.08 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/0.9383, allocations: 171 kB / 0.9883 GB, free: 12.91 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007443/0.9457, allocations: 0.8177 MB / 0.9891 GB, free: 12.09 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.9587, allocations: 6.313 MB / 0.9952 GB, free: 5.77 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.9589, allocations: 115.8 kB / 0.9954 GB, free: 5.648 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.9592, allocations: 112 kB / 0.9955 GB, free: 5.539 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005886/0.9651, allocations: 2.053 MB / 0.9975 GB, free: 3.418 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.9652, allocations: 0 / 0.9975 GB, free: 3.418 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.9654, allocations: 47.94 kB / 0.9975 GB, free: 3.371 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/0.9654, allocations: 42.08 kB / 0.9976 GB, free: 3.328 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007608/0.9731, allocations: 2.565 MB / 1 GB, free: 0.7539 MB / 0.7013 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.9937, allocations: 9.531 MB / 1.009 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/1, allocations: 2.09 MB / 1.011 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/1.003, allocations: 0.8897 MB / 1.012 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00175/1.005, allocations: 1.073 MB / 1.013 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003079/1.008, allocations: 1.009 MB / 1.014 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 4.068e-06/1.008, allocations: 0 / 1.014 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.03026/1.038, allocations: 5.953 MB / 1.02 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.038, allocations: 149.1 kB / 1.02 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/1.051, allocations: 8.883 MB / 1.029 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/1.052, allocations: 49.69 kB / 1.029 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.053, allocations: 1.116 MB / 1.03 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/1.053, allocations: 312.9 kB / 1.03 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/1.054, allocations: 222.5 kB / 1.031 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.054, allocations: 345.9 kB / 1.031 GB, free: 456 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/1.056, allocations: 1.089 MB / 1.032 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/1.058, allocations: 1.305 MB / 1.033 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/1.062, allocations: 2.175 MB / 1.035 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.062, allocations: 0 / 1.035 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009419/1.072, allocations: 3.692 MB / 1.039 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/1.072, allocations: 71.39 kB / 1.039 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.072, allocations: 7.938 kB / 1.039 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/1.077, allocations: 1.976 MB / 1.041 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/1.078, allocations: 183.7 kB / 1.041 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/1.088, allocations: 6.809 MB / 1.048 GB, free: 14.61 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/1.09, allocations: 238.9 kB / 1.048 GB, free: 14.38 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/1.091, allocations: 48.08 kB / 1.048 GB, free: 14.33 MB / 0.7638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001181/1.092, allocations: 0.6619 MB / 1.049 GB, free: 13.65 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005981/1.092, allocations: 282.2 kB / 1.049 GB, free: 13.37 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008283/1.101, allocations: 3.199 MB / 1.052 GB, free: 10.14 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.101, allocations: 8 kB / 1.052 GB, free: 10.13 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.101, allocations: 0 / 1.052 GB, free: 10.13 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.101, allocations: 7.922 kB / 1.052 GB, free: 10.12 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.114, allocations: 5.894 MB / 1.058 GB, free: 4.125 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/1.114, allocations: 0 / 1.058 GB, free: 4.125 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/1.114, allocations: 100.2 kB / 1.058 GB, free: 4.027 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004738/1.119, allocations: 1.971 MB / 1.06 GB, free: 2.043 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.119, allocations: 35.97 kB / 1.06 GB, free: 2.008 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.129, allocations: 6.725 MB / 1.067 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.129, allocations: 12.05 kB / 1.067 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008741/1.138, allocations: 3.275 MB / 1.07 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.14, allocations: 0.6198 MB / 1.07 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/1.141, allocations: 28.25 kB / 1.07 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/1.142, allocations: 129.3 kB / 1.07 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.142, allocations: 72.5 kB / 1.071 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.143, allocations: 43.97 kB / 1.071 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.008973/1.152, allocations: 6.833 MB / 1.077 GB, free: 15.85 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.81e-07/1.152, allocations: 4 kB / 1.077 GB, free: 15.85 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003414/1.155, allocations: 0.7451 MB / 1.078 GB, free: 15.1 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009902/1.165, allocations: 4.199 MB / 1.082 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005706/1.171, allocations: 2.534 MB / 1.085 GB, free: 8.262 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.171, allocations: 0 / 1.085 GB, free: 8.262 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/1.173, allocations: 1.326 MB / 1.086 GB, free: 6.887 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/1.179, allocations: 1.024 MB / 1.087 GB, free: 5.879 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07342/1.252, allocations: 41.52 MB / 1.127 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/1.254, allocations: 1.676 MB / 1.129 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001713/1.256, allocations: 435 kB / 1.129 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/1.257, allocations: 0.9562 MB / 1.13 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of SimCode: time 1.052e-06/1.257, allocations: 3.938 kB / 1.13 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/1.415, allocations: 78.91 MB / 1.207 GB, free: 10.72 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/20.02, allocations: 4.062 kB / 1.207 GB, free: 10.71 MB / 0.92 GB " [Timeout remaining time 640] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.60167843097588] Failed to read output from testmodel.py, exit status != 0: 20.22967771801632 20.676217237 19.742965415 Calling exit ...