Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009778, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008767/0.0008768, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.105/1.105, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003587, allocations: 12 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2103, allocations: 82.31 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.5136/0.7239, allocations: 51.28 MB / 0.6373 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.7389, allocations: 10.31 MB / 0.6474 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.7417, allocations: 50.38 kB / 0.6475 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.7445, allocations: 0.6264 MB / 0.6481 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00773/0.7522, allocations: 1.949 MB / 0.65 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.757, allocations: 1.309 MB / 0.6513 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00541/0.7624, allocations: 1.857 MB / 0.6531 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.7645, allocations: 0.8282 MB / 0.6539 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.7676, allocations: 0.9828 MB / 0.6548 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.7692, allocations: 0.6136 MB / 0.6554 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.7694, allocations: 42 kB / 0.6555 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.7722, allocations: 1.001 MB / 0.6565 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.7725, allocations: 200.4 kB / 0.6566 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.7731, allocations: 290.7 kB / 0.6569 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.7762, allocations: 1.59 MB / 0.6585 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7762, allocations: 0 / 0.6585 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.97e-06/0.7762, allocations: 1.281 kB / 0.6585 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001178/0.7763, allocations: 0 / 0.6585 GB, free: 11.13 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005727/0.7821, allocations: 1.503 MB / 0.6599 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.179e-05/0.7822, allocations: 9.875 kB / 0.66 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004713/0.7826, allocations: 120.5 kB / 0.6601 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/0.7856, allocations: 0.5106 MB / 0.6606 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.7883, allocations: 1.058 MB / 0.6616 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/0.7888, allocations: 128.7 kB / 0.6617 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.7889, allocations: 83.53 kB / 0.6618 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.7915, allocations: 1.03 MB / 0.6628 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.7916, allocations: 5.156 kB / 0.6628 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.7917, allocations: 32.38 kB / 0.6628 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.7917, allocations: 20.22 kB / 0.6629 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.7947, allocations: 0.9979 MB / 0.6638 GB, free: 8.422 MB / 0.4981 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.008021/0.8028, allocations: 4.708 MB / 0.6684 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/0.8074, allocations: 1.126 MB / 0.6695 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/0.8083, allocations: 1.031 MB / 0.6705 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.8084, allocations: 38.78 kB / 0.6706 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/0.8084, allocations: 0 / 0.6706 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.009027/0.8174, allocations: 2.137 MB / 0.6727 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.8175, allocations: 61.75 kB / 0.6727 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.8192, allocations: 0.9554 MB / 0.6737 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.8193, allocations: 37.33 kB / 0.6737 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.8198, allocations: 0.5031 MB / 0.6742 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.82, allocations: 187.6 kB / 0.6744 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.82, allocations: 18.97 kB / 0.6744 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.8201, allocations: 334.1 kB / 0.6747 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.8212, allocations: 371 kB / 0.6751 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.8224, allocations: 0.5342 MB / 0.6756 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.8234, allocations: 399.9 kB / 0.676 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8235, allocations: 0 / 0.676 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004296/0.8278, allocations: 1.292 MB / 0.6772 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/0.8282, allocations: 0.9658 MB / 0.6782 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.8282, allocations: 6.609 kB / 0.6782 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.8296, allocations: 336.7 kB / 0.6785 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007801/0.8304, allocations: 142.9 kB / 0.6786 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.8324, allocations: 0.933 MB / 0.6795 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.8342, allocations: 176.7 kB / 0.6797 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.8343, allocations: 29.86 kB / 0.6797 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.8344, allocations: 2.75 kB / 0.6797 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004074/0.8384, allocations: 1.151 MB / 0.6809 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.8385, allocations: 2.375 kB / 0.6809 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.8398, allocations: 321.7 kB / 0.6812 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.8406, allocations: 146 kB / 0.6813 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.8425, allocations: 0.9357 MB / 0.6822 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.8444, allocations: 175.1 kB / 0.6824 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.8446, allocations: 28.7 kB / 0.6824 GB, free: 13.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.8456, allocations: 351.5 kB / 0.6828 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.8462, allocations: 107 kB / 0.6829 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/0.8506, allocations: 1.223 MB / 0.6841 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/0.8507, allocations: 10.53 kB / 0.6841 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.8507, allocations: 0 / 0.6841 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.8508, allocations: 3.234 kB / 0.6841 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00907/0.8598, allocations: 2.333 MB / 0.6863 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.8599, allocations: 6.688 kB / 0.6864 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.8606, allocations: 112.5 kB / 0.6865 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.8623, allocations: 331.3 kB / 0.6868 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.8624, allocations: 22.08 kB / 0.6868 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.8649, allocations: 0.9598 MB / 0.6877 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/0.8649, allocations: 5.703 kB / 0.6877 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005604/0.8705, allocations: 1.469 MB / 0.6892 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.872, allocations: 304.8 kB / 0.6895 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/0.8726, allocations: 8.438 kB / 0.6895 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.8743, allocations: 126.2 kB / 0.6896 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.8745, allocations: 44.56 kB / 0.6896 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.8746, allocations: 23.95 kB / 0.6897 GB, free: 10 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002057/0.8767, allocations: 0.6684 MB / 0.6903 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8767, allocations: 0 / 0.6903 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003729/0.8804, allocations: 0.5726 MB / 0.6909 GB, free: 9.586 MB / 0.5137 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.006047/0.8865, allocations: 2.541 MB / 0.6934 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004572/0.8911, allocations: 1.388 MB / 0.6947 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.8912, allocations: 1.438 kB / 0.6947 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.8926, allocations: 488.4 kB / 0.6952 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.896, allocations: 0.499 MB / 0.6957 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/0.9049, allocations: 4.654 MB / 0.7002 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009497/0.9059, allocations: 1.096 MB / 0.7013 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00158/0.9075, allocations: 228.4 kB / 0.7015 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/0.9083, allocations: 422.5 kB / 0.7019 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of SimCode: time 1.293e-06/0.9083, allocations: 0 / 0.7019 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/2.158, allocations: 32.86 MB / 0.734 GB, free: 5.207 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003946/2.158, allocations: 247.1 kB / 0.7342 GB, free: 4.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/4.703, allocations: 3.938 kB / 0.7342 GB, free: 4.875 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: