Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001299/0.001299, allocations: 107.1 kB / 16.4 MB, free: 6.512 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.002014/0.002014, allocations: 192.6 kB / 19.36 MB, free: 3.746 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.399/1.399, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8196/0.8196, allocations: 132.2 MB / 429.4 MB, free: 6.004 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 73.02 kB / 0.5894 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1563, allocations: 80.21 MB / 0.6677 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06945/0.2258, allocations: 70.45 MB / 0.7365 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.2498, allocations: 18.9 MB / 0.7549 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.2522, allocations: 71.56 kB / 0.755 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3282/0.5804, allocations: 0.8173 MB / 0.7558 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007613/0.5881, allocations: 2.848 MB / 0.7586 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.5921, allocations: 1.646 MB / 0.7602 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00665/0.5987, allocations: 4.039 MB / 0.7641 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.601, allocations: 1.454 MB / 0.7656 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004564/0.6056, allocations: 1.766 MB / 0.7673 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.608, allocations: 1.185 MB / 0.7685 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.6083, allocations: 179.7 kB / 0.7686 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.6115, allocations: 1.413 MB / 0.77 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.6119, allocations: 382.4 kB / 0.7704 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.6129, allocations: 0.9223 MB / 0.7713 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.6172, allocations: 3.133 MB / 0.7743 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6172, allocations: 0 / 0.7743 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6172, allocations: 0 / 0.7743 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.6172, allocations: 0 / 0.7743 GB, free: 16.81 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003351/0.6206, allocations: 2.089 MB / 0.7764 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6206, allocations: 13.5 kB / 0.7764 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.6208, allocations: 153.6 kB / 0.7765 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.623, allocations: 453.8 kB / 0.777 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.6253, allocations: 1.565 MB / 0.7785 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.6254, allocations: 80.88 kB / 0.7786 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.6255, allocations: 102.7 kB / 0.7787 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.6277, allocations: 1.319 MB / 0.7799 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.6278, allocations: 1.156 kB / 0.78 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.6279, allocations: 45.28 kB / 0.78 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.6279, allocations: 25.97 kB / 0.78 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.6303, allocations: 1.1 MB / 0.7811 GB, free: 14.82 MB / 0.5762 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.006659/0.637, allocations: 7.517 MB / 0.7884 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.64, allocations: 0.808 MB / 0.7892 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.6406, allocations: 278.9 kB / 0.7895 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.6414, allocations: 1.723 MB / 0.7912 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.6414, allocations: 42.88 kB / 0.7912 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.505e-06/0.6414, allocations: 1.375 kB / 0.7912 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004445/0.6459, allocations: 1.337 MB / 0.7925 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.6459, allocations: 60.62 kB / 0.7926 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.648, allocations: 1.543 MB / 0.7941 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.648, allocations: 37.2 kB / 0.7941 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.6485, allocations: 0.6842 MB / 0.7948 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6486, allocations: 180.6 kB / 0.795 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.6489, allocations: 175.7 kB / 0.7951 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.649, allocations: 339.5 kB / 0.7955 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/0.6499, allocations: 358 kB / 0.7958 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.651, allocations: 0.6603 MB / 0.7964 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.6527, allocations: 0.8823 MB / 0.7973 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.6527, allocations: 5.031 kB / 0.7973 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002589/0.6553, allocations: 1.207 MB / 0.7985 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6553, allocations: 9.375 kB / 0.7985 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6553, allocations: 6.969 kB / 0.7985 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/0.6562, allocations: 223.7 kB / 0.7987 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.6569, allocations: 192.2 kB / 0.7989 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007086/0.6576, allocations: 0.7266 MB / 0.7996 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.6591, allocations: 216.1 kB / 0.7998 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/0.6592, allocations: 40.25 kB / 0.7998 GB, free: 4.293 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004253/0.6596, allocations: 364.2 kB / 0.8002 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.6598, allocations: 153.2 kB / 0.8003 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.6618, allocations: 1.145 MB / 0.8015 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.6619, allocations: 5.719 kB / 0.8015 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6619, allocations: 0.6562 kB / 0.8015 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6619, allocations: 3.984 kB / 0.8015 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.6662, allocations: 2.525 MB / 0.8039 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.6662, allocations: 2.875 kB / 0.8039 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.6665, allocations: 92.28 kB / 0.804 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006293/0.6672, allocations: 205.2 kB / 0.8042 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.6672, allocations: 22.64 kB / 0.8042 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.6683, allocations: 0.7678 MB / 0.805 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6683, allocations: 9.938 kB / 0.805 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.6712, allocations: 1.208 MB / 0.8062 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.6716, allocations: 358.7 kB / 0.8065 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.6719, allocations: 25.11 kB / 0.8065 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/0.6727, allocations: 69.91 kB / 0.8066 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.6728, allocations: 40.16 kB / 0.8067 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.6729, allocations: 30.27 kB / 0.8067 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001687/0.6746, allocations: 1.086 MB / 0.8077 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6746, allocations: 0 / 0.8077 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001281/0.6759, allocations: 445.5 kB / 0.8082 GB, free: 15.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004664/0.6806, allocations: 2.13 MB / 0.8102 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.6826, allocations: 0.85 MB / 0.8111 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6826, allocations: 3 kB / 0.8111 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.6839, allocations: 442.8 kB / 0.8115 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.6868, allocations: 0.7243 MB / 0.8122 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.7057, allocations: 10.52 MB / 0.8225 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.7069, allocations: 1.168 MB / 0.8236 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001237/0.7081, allocations: 265.6 kB / 0.8239 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.709, allocations: 0.5461 MB / 0.8244 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/0.709, allocations: 0 / 0.8244 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08996/0.799, allocations: 43.7 MB / 0.8671 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.36, allocations: 4 kB / 0.8671 GB, free: 7.82 MB / 0.6387 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.845019419910386] Failed to read output from testmodel.py, exit status != 0: 14.484537884127349 14.497950126 13.878286675 Calling exit ...