Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001088/0.001088, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009468/0.0009468, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8534/0.8534, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001512/0.001512, allocations: 248.2 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6686/0.6686, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.251e-05, allocations: 13.31 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2555/0.2555, allocations: 64.48 MB / 0.7093 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.2696, allocations: 17.53 MB / 0.7264 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.2717, allocations: 95.53 kB / 0.7265 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.2732, allocations: 0.8275 MB / 0.7273 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006088/0.2793, allocations: 3.118 MB / 0.7303 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003541/0.2828, allocations: 1.769 MB / 0.732 GB, free: 14.02 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004701/0.2876, allocations: 4.079 MB / 0.736 GB, free: 11.51 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.289, allocations: 1.142 MB / 0.7371 GB, free: 10.65 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.2927, allocations: 2.416 MB / 0.7395 GB, free: 9.023 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.2942, allocations: 1.045 MB / 0.7405 GB, free: 8.445 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.2944, allocations: 178.3 kB / 0.7407 GB, free: 8.445 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.2965, allocations: 1.173 MB / 0.7418 GB, free: 7.887 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.2967, allocations: 408.4 kB / 0.7422 GB, free: 7.547 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.2973, allocations: 0.5988 MB / 0.7428 GB, free: 7.227 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.3005, allocations: 3.138 MB / 0.7459 GB, free: 5.078 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3005, allocations: 0 / 0.7459 GB, free: 5.078 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3005, allocations: 1.344 kB / 0.7459 GB, free: 5.078 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.108e-05/0.3005, allocations: 0 / 0.7459 GB, free: 5.078 MB / 0.573 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.002555/0.3031, allocations: 1.995 MB / 0.7478 GB, free: 3.223 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3031, allocations: 13.94 kB / 0.7478 GB, free: 3.211 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.3033, allocations: 152.6 kB / 0.748 GB, free: 3.055 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.3044, allocations: 459.1 kB / 0.7484 GB, free: 2.605 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.3063, allocations: 1.5 MB / 0.7499 GB, free: 1.059 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.3063, allocations: 86.03 kB / 0.75 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.3064, allocations: 100 kB / 0.7501 GB, free: 0.875 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.3079, allocations: 1.421 MB / 0.7515 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.308, allocations: 7.938 kB / 0.7515 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.308, allocations: 44 kB / 0.7515 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.308, allocations: 24 kB / 0.7515 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.3096, allocations: 1.097 MB / 0.7526 GB, free: 14.15 MB / 0.5886 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.004865/0.3145, allocations: 5.614 MB / 0.7581 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.3161, allocations: 0.7649 MB / 0.7588 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.3164, allocations: 262.2 kB / 0.7591 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.3168, allocations: 172.3 kB / 0.7592 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3168, allocations: 39.06 kB / 0.7593 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 2.885e-06/0.3168, allocations: 0 / 0.7593 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.00251/0.3193, allocations: 1.266 MB / 0.7605 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3193, allocations: 55.91 kB / 0.7606 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.3208, allocations: 1.557 MB / 0.7621 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.3209, allocations: 37.7 kB / 0.7621 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.3212, allocations: 0.6818 MB / 0.7628 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3213, allocations: 178.5 kB / 0.763 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3215, allocations: 174.5 kB / 0.7631 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.3216, allocations: 334 kB / 0.7634 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.3222, allocations: 361.8 kB / 0.7638 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.3231, allocations: 0.9878 MB / 0.7648 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3241, allocations: 0.8925 MB / 0.7656 GB, free: 284 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3241, allocations: 4 kB / 0.7656 GB, free: 280 kB / 0.5886 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001667/0.3258, allocations: 1.197 MB / 0.7668 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3258, allocations: 12 kB / 0.7668 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3258, allocations: 8 kB / 0.7668 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.3264, allocations: 216.6 kB / 0.767 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.3268, allocations: 199.7 kB / 0.7672 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005398/0.3273, allocations: 0.7201 MB / 0.7679 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.3281, allocations: 211 kB / 0.7681 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.3282, allocations: 47.98 kB / 0.7682 GB, free: 13.64 MB / 0.6042 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.0003891/0.3286, allocations: 362.2 kB / 0.7685 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.3287, allocations: 155 kB / 0.7687 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.3302, allocations: 1.149 MB / 0.7698 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3302, allocations: 8 kB / 0.7698 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3302, allocations: 0 / 0.7698 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3302, allocations: 4.547 kB / 0.7698 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.3333, allocations: 2.301 MB / 0.772 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3333, allocations: 0 / 0.772 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.3335, allocations: 79.88 kB / 0.7721 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.334, allocations: 210 kB / 0.7723 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.334, allocations: 23.98 kB / 0.7723 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007027/0.3347, allocations: 0.7626 MB / 0.7731 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3347, allocations: 7.969 kB / 0.7731 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3365, allocations: 1.224 MB / 0.7743 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.3369, allocations: 282.6 kB / 0.7746 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.3371, allocations: 12 kB / 0.7746 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.3376, allocations: 71.86 kB / 0.7746 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.3377, allocations: 40.42 kB / 0.7747 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.3377, allocations: 31.97 kB / 0.7747 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001122/0.3388, allocations: 1.082 MB / 0.7758 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.3388, allocations: 0 / 0.7758 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009921/0.3398, allocations: 455 kB / 0.7762 GB, free: 5.281 MB / 0.6042 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.002732/0.3425, allocations: 2.149 MB / 0.7783 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.3441, allocations: 0.8254 MB / 0.7791 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3441, allocations: 0 / 0.7791 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.3447, allocations: 423.5 kB / 0.7795 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.3465, allocations: 0.7424 MB / 0.7802 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.3581, allocations: 10.51 MB / 0.7905 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3585, allocations: 0.5835 MB / 0.7911 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006899/0.3592, allocations: 273.8 kB / 0.7913 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.3597, allocations: 0.5472 MB / 0.7919 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.3597, allocations: 3.938 kB / 0.7919 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05505/0.4147, allocations: 47.04 MB / 0.8378 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.822, allocations: 3.094 kB / 0.8378 GB, free: 6.648 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.410780599340796] Failed to read output from testmodel.py, exit status != 0: 8.93603973928839 8.944513012 8.641886242 Calling exit ...