Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.000984/0.0009841, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.007129/0.007129, allocations: 170.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 289.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 12.47 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03034/0.1636, allocations: 34.88 MB / 0.7193 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.1738, allocations: 8.02 MB / 0.7271 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007937/0.1746, allocations: 27.81 kB / 0.7271 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.1755, allocations: 346.1 kB / 0.7275 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.1787, allocations: 1.285 MB / 0.7287 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.1815, allocations: 0.9994 MB / 0.7297 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002728/0.1843, allocations: 2.817 MB / 0.7325 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009505/0.1852, allocations: 0.5891 MB / 0.733 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.1866, allocations: 0.7583 MB / 0.7338 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009362/0.1876, allocations: 0.5872 MB / 0.7343 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1877, allocations: 32 kB / 0.7344 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1893, allocations: 0.7331 MB / 0.7351 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.1895, allocations: 163.3 kB / 0.7352 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.19, allocations: 443.5 kB / 0.7357 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.1916, allocations: 1.468 MB / 0.7371 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1917, allocations: 0 / 0.7371 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1917, allocations: 3.938 kB / 0.7371 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1917, allocations: 0 / 0.7371 GB, free: 9.699 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001566/0.1932, allocations: 1.054 MB / 0.7381 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1933, allocations: 8.031 kB / 0.7381 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.1934, allocations: 102.7 kB / 0.7382 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.1957, allocations: 315.5 kB / 0.7385 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.1968, allocations: 0.7491 MB / 0.7393 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.1969, allocations: 45.31 kB / 0.7393 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.197, allocations: 56 kB / 0.7394 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.1987, allocations: 0.8109 MB / 0.7402 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1987, allocations: 0 / 0.7402 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.1988, allocations: 27.94 kB / 0.7402 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.1988, allocations: 31.92 kB / 0.7402 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.2008, allocations: 0.6373 MB / 0.7408 GB, free: 5.711 MB / 0.5294 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.004372/0.2052, allocations: 3.95 MB / 0.7447 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.207, allocations: 471.4 kB / 0.7451 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008161/0.2078, allocations: 228.6 kB / 0.7454 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.2084, allocations: 0.5299 MB / 0.7459 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2085, allocations: 38.55 kB / 0.7459 GB, free: 92 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.2085, allocations: 3.938 kB / 0.7459 GB, free: 88 kB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.002907/0.2114, allocations: 0.8153 MB / 0.7467 GB, free: 15.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.2115, allocations: 102.8 kB / 0.7468 GB, free: 15.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.2121, allocations: 0.5821 MB / 0.7474 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.2122, allocations: 33.7 kB / 0.7474 GB, free: 14.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.2124, allocations: 383.7 kB / 0.7478 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.2125, allocations: 94.64 kB / 0.7479 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.2126, allocations: 41.7 kB / 0.7479 GB, free: 13.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2127, allocations: 370.7 kB / 0.7483 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000819/0.2136, allocations: 212.7 kB / 0.7485 GB, free: 13.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009114/0.2145, allocations: 368 kB / 0.7488 GB, free: 12.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.2162, allocations: 0.5528 MB / 0.7494 GB, free: 12.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2162, allocations: 0 / 0.7494 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002005/0.2182, allocations: 0.6743 MB / 0.75 GB, free: 11.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2183, allocations: 11.94 kB / 0.75 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2183, allocations: 4 kB / 0.75 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.2185, allocations: 56.83 kB / 0.7501 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.2192, allocations: 148 kB / 0.7502 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004456/0.2197, allocations: 0.6225 MB / 0.7508 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.2206, allocations: 115.5 kB / 0.7509 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.2206, allocations: 23.98 kB / 0.751 GB, free: 10.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.221, allocations: 222.3 kB / 0.7512 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2211, allocations: 67.19 kB / 0.7512 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.2232, allocations: 0.631 MB / 0.7519 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2232, allocations: 4 kB / 0.7519 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2232, allocations: 12.06 kB / 0.7519 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001801/0.225, allocations: 0.7218 MB / 0.7526 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.2277, allocations: 1.321 MB / 0.7539 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2278, allocations: 0 / 0.7539 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.2283, allocations: 87.98 kB / 0.754 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.2285, allocations: 56.83 kB / 0.754 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.2286, allocations: 19.91 kB / 0.754 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003887/0.229, allocations: 0.611 MB / 0.7546 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.229, allocations: 3.938 kB / 0.7546 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.2317, allocations: 0.9245 MB / 0.7555 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.232, allocations: 220.1 kB / 0.7557 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.2322, allocations: 11.92 kB / 0.7558 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/0.2331, allocations: 83.97 kB / 0.7558 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.2331, allocations: 19.92 kB / 0.7559 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.2332, allocations: 31.95 kB / 0.7559 GB, free: 5.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006006/0.2338, allocations: 483 kB / 0.7563 GB, free: 4.926 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2338, allocations: 0 / 0.7563 GB, free: 4.926 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008328/0.2346, allocations: 267.5 kB / 0.7566 GB, free: 4.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003603/0.2382, allocations: 1.67 MB / 0.7582 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.2402, allocations: 0.5074 MB / 0.7587 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2402, allocations: 0 / 0.7587 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.2412, allocations: 248.2 kB / 0.759 GB, free: 2.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.2432, allocations: 398.9 kB / 0.7593 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.2547, allocations: 6.261 MB / 0.7655 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.2552, allocations: 0.9218 MB / 0.7664 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006793/0.2559, allocations: 160.3 kB / 0.7665 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.2563, allocations: 275.3 kB / 0.7668 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2563, allocations: 0 / 0.7668 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8608/1.117, allocations: 21.24 MB / 0.7875 GB, free: 88.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.117, allocations: 295.1 kB / 0.7878 GB, free: 88.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/3.204, allocations: 4.938 kB / 0.7878 GB, free: 88.56 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)