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: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00137/0.00137, allocations: 197.1 kB / 16.26 MB, free: 6.629 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002927/0.002927, allocations: 282.8 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.507 GB, free: 4.684 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 102.9 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1589, allocations: 89.15 MB / 0.693 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03948/0.1984, allocations: 35.58 MB / 0.7277 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.211, allocations: 7.97 MB / 0.7355 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.2122, allocations: 27.81 kB / 0.7355 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.2135, allocations: 366.1 kB / 0.7359 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.2175, allocations: 1.295 MB / 0.7371 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.2205, allocations: 1.027 MB / 0.7381 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003046/0.2235, allocations: 2.142 MB / 0.7402 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.2247, allocations: 0.7137 MB / 0.7409 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.227, allocations: 0.901 MB / 0.7418 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009142/0.2279, allocations: 0.6302 MB / 0.7424 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.2281, allocations: 72 kB / 0.7425 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.2299, allocations: 0.8043 MB / 0.7433 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.2301, allocations: 207.3 kB / 0.7435 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005542/0.2307, allocations: 481.8 kB / 0.7439 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.2329, allocations: 1.527 MB / 0.7454 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.233, allocations: 0 / 0.7454 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.562e-06/0.233, allocations: 0 / 0.7454 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.233, allocations: 0 / 0.7454 GB, free: 14.79 MB / 0.545 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.002076/0.2351, allocations: 1.217 MB / 0.7466 GB, free: 13.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2351, allocations: 12.03 kB / 0.7466 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.2377, allocations: 295.6 kB / 0.7469 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.239, allocations: 0.7609 MB / 0.7477 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.2391, allocations: 45.31 kB / 0.7477 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2392, allocations: 59.91 kB / 0.7478 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.2413, allocations: 0.7992 MB / 0.7485 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2413, allocations: 0 / 0.7485 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.2414, allocations: 27.98 kB / 0.7486 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.2414, allocations: 16 kB / 0.7486 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.2436, allocations: 0.6139 MB / 0.7492 GB, free: 10.79 MB / 0.545 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.005602/0.2493, allocations: 3.942 MB / 0.753 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.2512, allocations: 454.7 kB / 0.7535 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.2521, allocations: 205.4 kB / 0.7537 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/0.2528, allocations: 0.522 MB / 0.7542 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.2529, allocations: 38.56 kB / 0.7542 GB, free: 5.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 2.334e-06/0.2529, allocations: 0 / 0.7542 GB, free: 5.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.003235/0.2561, allocations: 0.784 MB / 0.755 GB, free: 4.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.2562, allocations: 102.8 kB / 0.7551 GB, free: 4.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009114/0.2572, allocations: 0.586 MB / 0.7556 GB, free: 3.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/0.2572, allocations: 33.7 kB / 0.7557 GB, free: 3.664 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.2577, allocations: 395.5 kB / 0.756 GB, free: 3.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2578, allocations: 94.67 kB / 0.7561 GB, free: 3.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.258, allocations: 102 kB / 0.7562 GB, free: 3.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.2582, allocations: 370.7 kB / 0.7566 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/0.2591, allocations: 200.7 kB / 0.7568 GB, free: 2.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.2601, allocations: 363.3 kB / 0.7571 GB, free: 2.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.262, allocations: 0.5211 MB / 0.7576 GB, free: 1.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.262, allocations: 8 kB / 0.7576 GB, free: 1.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002332/0.2643, allocations: 0.6507 MB / 0.7583 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2644, allocations: 8 kB / 0.7583 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2644, allocations: 4 kB / 0.7583 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.2646, allocations: 56.83 kB / 0.7583 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.2654, allocations: 136.1 kB / 0.7585 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.27/0.5355, allocations: 0.6194 MB / 0.7591 GB, free: 68.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5366, allocations: 107 kB / 0.7592 GB, free: 68.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.5366, allocations: 25.39 kB / 0.7592 GB, free: 68.71 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.0003432/0.537, allocations: 221 kB / 0.7594 GB, free: 68.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.5372, allocations: 65.44 kB / 0.7595 GB, free: 68.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.5393, allocations: 0.611 MB / 0.7601 GB, free: 68.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.5393, allocations: 4.047 kB / 0.7601 GB, free: 68.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5393, allocations: 1.938 kB / 0.7601 GB, free: 68.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001681/0.541, allocations: 0.7009 MB / 0.7608 GB, free: 68.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.5438, allocations: 1.29 MB / 0.762 GB, free: 67.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5438, allocations: 3.094 kB / 0.762 GB, free: 67.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.5443, allocations: 78.36 kB / 0.7621 GB, free: 67.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.5445, allocations: 56.25 kB / 0.7622 GB, free: 67.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.5446, allocations: 18.09 kB / 0.7622 GB, free: 67.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003126/0.5449, allocations: 0.6149 MB / 0.7628 GB, free: 66.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5449, allocations: 3.344 kB / 0.7628 GB, free: 66.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.5477, allocations: 0.8946 MB / 0.7637 GB, free: 66.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.548, allocations: 203.7 kB / 0.7638 GB, free: 66.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.5482, allocations: 12.42 kB / 0.7639 GB, free: 66.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.5491, allocations: 85.42 kB / 0.7639 GB, free: 66.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.5492, allocations: 31.05 kB / 0.764 GB, free: 66.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.5492, allocations: 22.3 kB / 0.764 GB, free: 66.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006106/0.5498, allocations: 480.2 kB / 0.7644 GB, free: 66.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5499, allocations: 0 / 0.7644 GB, free: 66.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009066/0.5508, allocations: 268.5 kB / 0.7647 GB, free: 66.19 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.0006519/0.5514, allocations: 313.2 kB / 0.765 GB, free: 66.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.5535, allocations: 0.502 MB / 0.7655 GB, free: 65.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5535, allocations: 1 kB / 0.7655 GB, free: 65.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.5544, allocations: 235.6 kB / 0.7657 GB, free: 65.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.5562, allocations: 401.6 kB / 0.7661 GB, free: 65.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.5588, allocations: 1.518 MB / 0.7676 GB, free: 64.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.5592, allocations: 0.9242 MB / 0.7685 GB, free: 64.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000759/0.5599, allocations: 155.8 kB / 0.7686 GB, free: 64.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.5601, allocations: 66.27 kB / 0.7687 GB, free: 64.19 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.5601, allocations: 0.9844 kB / 0.7687 GB, free: 64.19 MB / 0.545 GB Notification: Performance of Templates: time 0.02732/0.5875, allocations: 15.95 MB / 0.7843 GB, free: 59.4 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)