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.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.001262/0.001262, allocations: 109.9 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.0013/0.0013, allocations: 184.5 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.385/1.385, allocations: 225.6 MB / 250.1 MB, free: 13.48 MB / 206.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.814/0.814, allocations: 128.4 MB / 433.6 MB, free: 6.086 MB / 334.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.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 72.23 kB / 0.6004 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 83.25 MB / 0.6817 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6135/0.7631, allocations: 226.3 MB / 0.9027 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.7829, allocations: 12.72 MB / 0.9151 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.7851, allocations: 67.62 kB / 0.9152 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.788, allocations: 1.236 MB / 0.9164 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.7957, allocations: 3.276 MB / 0.9196 GB, free: 7.691 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.8001, allocations: 1.852 MB / 0.9214 GB, free: 5.852 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005552/0.8056, allocations: 4.179 MB / 0.9255 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.8072, allocations: 1.117 MB / 0.9266 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005088/0.8123, allocations: 2.165 MB / 0.9287 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.8149, allocations: 1.461 MB / 0.9301 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.8152, allocations: 180 kB / 0.9303 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.8206, allocations: 2.783 MB / 0.933 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009819/0.8216, allocations: 1.008 MB / 0.934 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.8234, allocations: 1.442 MB / 0.9354 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007521/0.8309, allocations: 4.807 MB / 0.9401 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8309, allocations: 0 / 0.9401 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8309, allocations: 0 / 0.9401 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.281e-05/0.8309, allocations: 0 / 0.9401 GB, free: 2.629 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.00589/0.8368, allocations: 3.469 MB / 0.9435 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.8369, allocations: 8.031 kB / 0.9435 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/0.8371, allocations: 173 kB / 0.9436 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/0.8413, allocations: 0.8216 MB / 0.9444 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00756/0.8489, allocations: 6.295 MB / 0.9506 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.849, allocations: 119.8 kB / 0.9507 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.8492, allocations: 104 kB / 0.9508 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003654/0.8528, allocations: 2.058 MB / 0.9528 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.8529, allocations: 0 / 0.9528 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.853, allocations: 47.98 kB / 0.9529 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/0.853, allocations: 50 kB / 0.9529 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.8578, allocations: 2.561 MB / 0.9554 GB, free: 2.68 MB / 0.7012 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.01433/0.8721, allocations: 9.534 MB / 0.9647 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004062/0.8762, allocations: 2.089 MB / 0.9668 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.878, allocations: 0.898 MB / 0.9676 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.8792, allocations: 1.057 MB / 0.9687 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.8811, allocations: 1.016 MB / 0.9697 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 2.816e-06/0.8811, allocations: 0 / 0.9697 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.02285/0.904, allocations: 5.955 MB / 0.9755 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.9041, allocations: 153.2 kB / 0.9756 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/0.9161, allocations: 8.879 MB / 0.9843 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/0.9164, allocations: 45.7 kB / 0.9843 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.9175, allocations: 1.107 MB / 0.9854 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.9179, allocations: 317.3 kB / 0.9857 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.9183, allocations: 226.5 kB / 0.9859 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9185, allocations: 341.9 kB / 0.9863 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.9205, allocations: 1.088 MB / 0.9873 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.9227, allocations: 1.307 MB / 0.9886 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003863/0.9266, allocations: 2.182 MB / 0.9907 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9266, allocations: 0 / 0.9907 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008481/0.9351, allocations: 3.676 MB / 0.9943 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.9352, allocations: 75.33 kB / 0.9944 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.9352, allocations: 4 kB / 0.9944 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/0.9399, allocations: 1.98 MB / 0.9963 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/0.9408, allocations: 187.7 kB / 0.9965 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009525/0.9504, allocations: 6.796 MB / 1.003 GB, free: 484 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.9528, allocations: 247 kB / 1.003 GB, free: 236 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.9529, allocations: 54.28 kB / 1.003 GB, free: 184 kB / 0.7481 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.001179/0.9541, allocations: 0.6645 MB / 1.004 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/0.9547, allocations: 278.2 kB / 1.004 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007999/0.9627, allocations: 3.205 MB / 1.007 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.9627, allocations: 12 kB / 1.007 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9627, allocations: 3.938 kB / 1.007 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.9627, allocations: 11.92 kB / 1.008 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.9754, allocations: 5.875 MB / 1.013 GB, free: 5.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.9754, allocations: 4 kB / 1.013 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.976, allocations: 100.2 kB / 1.013 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004611/0.9806, allocations: 1.967 MB / 1.015 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.9808, allocations: 31.98 kB / 1.015 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009557/0.9903, allocations: 6.744 MB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.9903, allocations: 3.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008236/0.9986, allocations: 3.285 MB / 1.025 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1, allocations: 0.616 MB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/1, allocations: 24 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.002, allocations: 131.9 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.002, allocations: 72.5 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.002, allocations: 43.97 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007854/1.01, allocations: 6.831 MB / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.01, allocations: 0 / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002078/1.012, allocations: 0.7295 MB / 1.033 GB, free: 0.9297 MB / 0.7794 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.008917/1.021, allocations: 4.234 MB / 1.037 GB, free: 12.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005225/1.026, allocations: 2.538 MB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.026, allocations: 4.062 kB / 1.04 GB, free: 10.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/1.029, allocations: 1.324 MB / 1.041 GB, free: 8.645 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.034, allocations: 1.03 MB / 1.042 GB, free: 7.621 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3811/1.415, allocations: 41.47 MB / 1.083 GB, free: 319.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.416, allocations: 1.688 MB / 1.084 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001796/1.418, allocations: 426.7 kB / 1.085 GB, free: 319.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.419, allocations: 0.9557 MB / 1.086 GB, free: 319.1 MB / 0.8262 GB Notification: Performance of SimCode: time 1.233e-06/1.419, allocations: 3.969 kB / 1.086 GB, free: 319.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.537, allocations: 79.26 MB / 1.163 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.64, allocations: 10.34 kB / 1.163 GB, free: 265.2 MB / 0.8262 GB " [Timeout remaining time 641] (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 --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 sys.exit(0), Time elapsed: 22.17562549401191] Failed to read output from testmodel.py, exit status != 0: 18.776564668980427 18.787362243 17.953996212 Calling exit ...