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.00108/0.00108, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 194.4 kB / 16.64 MB, free: 6.453 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.294/1.294, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002041, allocations: 278.4 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.912/0.912, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 95.05 kB / 0.5955 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 86.98 MB / 0.6804 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03252/0.1789, allocations: 35.84 MB / 0.7154 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1892, allocations: 8.01 MB / 0.7233 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008916/0.1901, allocations: 31.81 kB / 0.7233 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009929/0.1911, allocations: 425.2 kB / 0.7237 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.1941, allocations: 1.402 MB / 0.7251 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.1967, allocations: 1.111 MB / 0.7262 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.1991, allocations: 2.143 MB / 0.7283 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000835/0.1999, allocations: 0.7134 MB / 0.7289 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.2017, allocations: 0.8888 MB / 0.7298 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007289/0.2024, allocations: 0.6106 MB / 0.7304 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2025, allocations: 76 kB / 0.7305 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.204, allocations: 0.8449 MB / 0.7313 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.2042, allocations: 215.2 kB / 0.7315 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.2046, allocations: 477.8 kB / 0.732 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.2064, allocations: 1.519 MB / 0.7335 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2064, allocations: 3.984 kB / 0.7335 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2064, allocations: 0 / 0.7335 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.2064, allocations: 0 / 0.7335 GB, free: 10.04 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.001648/0.2081, allocations: 1.221 MB / 0.7347 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2081, allocations: 16.03 kB / 0.7347 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.2082, allocations: 102.7 kB / 0.7348 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.2105, allocations: 295.6 kB / 0.735 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.2117, allocations: 0.7664 MB / 0.7358 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.2117, allocations: 49.3 kB / 0.7358 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.2118, allocations: 56 kB / 0.7359 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.2134, allocations: 0.7876 MB / 0.7367 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2134, allocations: 7.938 kB / 0.7367 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.2135, allocations: 32 kB / 0.7367 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.2135, allocations: 16 kB / 0.7367 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.2154, allocations: 0.6061 MB / 0.7373 GB, free: 5.938 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.004295/0.2197, allocations: 3.95 MB / 0.7412 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.2215, allocations: 455.3 kB / 0.7416 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.2223, allocations: 208.7 kB / 0.7418 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.2229, allocations: 0.5181 MB / 0.7423 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2229, allocations: 42.56 kB / 0.7423 GB, free: 368 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.223, allocations: 0 / 0.7423 GB, free: 368 kB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.003008/0.226, allocations: 0.7726 MB / 0.7431 GB, free: 15.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.226, allocations: 110.8 kB / 0.7432 GB, free: 15.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007047/0.2268, allocations: 0.586 MB / 0.7438 GB, free: 14.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.2268, allocations: 33.7 kB / 0.7438 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.2271, allocations: 391.6 kB / 0.7442 GB, free: 14.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/0.2272, allocations: 94.64 kB / 0.7443 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.2274, allocations: 106 kB / 0.7444 GB, free: 14.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2275, allocations: 366.7 kB / 0.7447 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008089/0.2283, allocations: 208.7 kB / 0.7449 GB, free: 13.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009179/0.2293, allocations: 355.4 kB / 0.7453 GB, free: 13.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.2309, allocations: 0.5255 MB / 0.7458 GB, free: 12.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2309, allocations: 4 kB / 0.7458 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001991/0.2329, allocations: 0.6546 MB / 0.7464 GB, free: 11.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.233, allocations: 4 kB / 0.7464 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.233, allocations: 4 kB / 0.7464 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/0.2332, allocations: 64.77 kB / 0.7465 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/0.2339, allocations: 136 kB / 0.7466 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004731/0.2344, allocations: 0.6187 MB / 0.7472 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.2352, allocations: 79.47 kB / 0.7473 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.2353, allocations: 32.09 kB / 0.7473 GB, free: 11.01 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.000334/0.2356, allocations: 226.3 kB / 0.7475 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.2358, allocations: 67.19 kB / 0.7476 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.2378, allocations: 0.624 MB / 0.7482 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2378, allocations: 4 kB / 0.7482 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2378, allocations: 0 / 0.7482 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001699/0.2395, allocations: 0.698 MB / 0.7489 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.2421, allocations: 1.299 MB / 0.7502 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.2421, allocations: 0 / 0.7502 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.2426, allocations: 80.06 kB / 0.7503 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.2428, allocations: 60.75 kB / 0.7503 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.2429, allocations: 23.98 kB / 0.7503 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003967/0.2433, allocations: 0.6147 MB / 0.7509 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2433, allocations: 4.062 kB / 0.7509 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.2459, allocations: 0.8859 MB / 0.7518 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.2461, allocations: 208.2 kB / 0.752 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.2462, allocations: 8 kB / 0.752 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.247, allocations: 47.94 kB / 0.7521 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.247, allocations: 23.91 kB / 0.7521 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.2471, allocations: 24.03 kB / 0.7521 GB, free: 5.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005366/0.2476, allocations: 487 kB / 0.7526 GB, free: 5.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2476, allocations: 0 / 0.7526 GB, free: 5.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007674/0.2484, allocations: 275.5 kB / 0.7528 GB, free: 5.141 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.003317/0.2517, allocations: 1.624 MB / 0.7544 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.2536, allocations: 0.4928 MB / 0.7549 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2536, allocations: 0 / 0.7549 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.2544, allocations: 240.2 kB / 0.7551 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.256, allocations: 392.4 kB / 0.7555 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009868/0.2659, allocations: 5.75 MB / 0.7611 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.2663, allocations: 0.9217 MB / 0.762 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005888/0.2669, allocations: 152.6 kB / 0.7622 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.2673, allocations: 279.3 kB / 0.7624 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.2673, allocations: 3.938 kB / 0.7624 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2827/0.55, allocations: 22.28 MB / 0.7842 GB, free: 90.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.29, allocations: 6.656 kB / 0.7842 GB, free: 90.35 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)