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.001536/0.001536, allocations: 108 kB / 15.61 MB, free: 152 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.001444/0.001444, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 278.6 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 97.98 kB / 0.6065 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1544, allocations: 89.14 MB / 0.6936 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03638/0.1908, allocations: 35.85 MB / 0.7286 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.2018, allocations: 8.003 MB / 0.7364 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.2024, allocations: 27.88 kB / 0.7364 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009733/0.2034, allocations: 433.2 kB / 0.7369 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.2063, allocations: 1.397 MB / 0.7382 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.2087, allocations: 1.104 MB / 0.7393 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.211, allocations: 2.127 MB / 0.7414 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008757/0.2119, allocations: 0.7252 MB / 0.7421 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.2135, allocations: 0.8864 MB / 0.7429 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.2143, allocations: 0.6145 MB / 0.7435 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2144, allocations: 76 kB / 0.7436 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.2158, allocations: 0.7957 MB / 0.7444 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.216, allocations: 207.3 kB / 0.7446 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.2165, allocations: 473.9 kB / 0.745 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.2182, allocations: 1.523 MB / 0.7465 GB, free: 13.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2182, allocations: 0 / 0.7465 GB, free: 13.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2182, allocations: 0 / 0.7465 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.2183, allocations: 0 / 0.7465 GB, free: 13.88 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.001783/0.22, allocations: 1.222 MB / 0.7477 GB, free: 12.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2201, allocations: 15.97 kB / 0.7477 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.2202, allocations: 98.7 kB / 0.7478 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.2225, allocations: 295.6 kB / 0.7481 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.2236, allocations: 0.7353 MB / 0.7488 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.2237, allocations: 49.25 kB / 0.7489 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.141e-05/0.2238, allocations: 60 kB / 0.7489 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.2255, allocations: 0.7953 MB / 0.7497 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2255, allocations: 4 kB / 0.7497 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.2256, allocations: 24 kB / 0.7497 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.2256, allocations: 19.98 kB / 0.7498 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.2277, allocations: 0.6138 MB / 0.7504 GB, free: 9.793 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.004717/0.2324, allocations: 3.969 MB / 0.7542 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2342, allocations: 462.7 kB / 0.7547 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.235, allocations: 205.4 kB / 0.7549 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006451/0.2357, allocations: 0.522 MB / 0.7554 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.2357, allocations: 38.56 kB / 0.7554 GB, free: 4.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.2357, allocations: 3.938 kB / 0.7554 GB, free: 4.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.00297/0.2387, allocations: 0.78 MB / 0.7562 GB, free: 3.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.2388, allocations: 110.8 kB / 0.7563 GB, free: 3.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/0.2395, allocations: 0.5899 MB / 0.7569 GB, free: 2.656 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.2396, allocations: 33.7 kB / 0.7569 GB, free: 2.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.2399, allocations: 387.6 kB / 0.7573 GB, free: 2.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.24, allocations: 94.73 kB / 0.7574 GB, free: 2.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.2401, allocations: 106 kB / 0.7575 GB, free: 2.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2403, allocations: 370.7 kB / 0.7578 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008054/0.2411, allocations: 196.7 kB / 0.758 GB, free: 1.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009358/0.2421, allocations: 360 kB / 0.7583 GB, free: 1.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.2438, allocations: 0.5366 MB / 0.7589 GB, free: 468 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2438, allocations: 0 / 0.7589 GB, free: 468 kB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.2358/0.4796, allocations: 0.6478 MB / 0.7595 GB, free: 68.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4797, allocations: 7.469 kB / 0.7595 GB, free: 68.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4797, allocations: 3.75 kB / 0.7595 GB, free: 68.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.48, allocations: 61.33 kB / 0.7596 GB, free: 68.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.4807, allocations: 133.9 kB / 0.7597 GB, free: 68.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003456/0.481, allocations: 0.6201 MB / 0.7603 GB, free: 67.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.4818, allocations: 83.61 kB / 0.7604 GB, free: 67.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.4819, allocations: 30.05 kB / 0.7604 GB, free: 67.87 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.0002797/0.4822, allocations: 218.8 kB / 0.7606 GB, free: 67.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.4823, allocations: 66.92 kB / 0.7607 GB, free: 67.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.4843, allocations: 0.6121 MB / 0.7613 GB, free: 67.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.4843, allocations: 4.469 kB / 0.7613 GB, free: 67.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4843, allocations: 5.312 kB / 0.7613 GB, free: 67.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/0.4859, allocations: 0.703 MB / 0.762 GB, free: 67.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.4884, allocations: 1.29 MB / 0.7632 GB, free: 66.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4885, allocations: 2.844 kB / 0.7632 GB, free: 66.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.489, allocations: 79.84 kB / 0.7633 GB, free: 66.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.4891, allocations: 57.95 kB / 0.7634 GB, free: 66.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.4892, allocations: 15.03 kB / 0.7634 GB, free: 66.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002773/0.4895, allocations: 0.6204 MB / 0.764 GB, free: 66.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4895, allocations: 2.094 kB / 0.764 GB, free: 66.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.492, allocations: 0.8915 MB / 0.7649 GB, free: 65.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.4922, allocations: 209.6 kB / 0.7651 GB, free: 65.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/0.4923, allocations: 9.094 kB / 0.7651 GB, free: 65.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.4931, allocations: 54.98 kB / 0.7651 GB, free: 65.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4931, allocations: 18.92 kB / 0.7651 GB, free: 65.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.4932, allocations: 27.38 kB / 0.7652 GB, free: 65.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005225/0.4937, allocations: 487.5 kB / 0.7656 GB, free: 65.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4937, allocations: 0 / 0.7656 GB, free: 65.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007576/0.4945, allocations: 273.7 kB / 0.7659 GB, free: 65.55 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.003104/0.4976, allocations: 1.631 MB / 0.7675 GB, free: 64.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.4994, allocations: 0.5039 MB / 0.768 GB, free: 64.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4994, allocations: 6.578 kB / 0.768 GB, free: 64.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.5002, allocations: 235.9 kB / 0.7682 GB, free: 64.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.5018, allocations: 392.7 kB / 0.7686 GB, free: 64.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/0.511, allocations: 5.94 MB / 0.7744 GB, free: 61.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.5113, allocations: 0.9233 MB / 0.7753 GB, free: 60.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006035/0.5119, allocations: 157 kB / 0.7754 GB, free: 60.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.5122, allocations: 276.9 kB / 0.7757 GB, free: 60.11 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.5122, allocations: 0 / 0.7757 GB, free: 60.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.587/2.099, allocations: 22.25 MB / 0.7974 GB, free: 51.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.5/20.6, allocations: 19.69 kB / 0.7975 GB, free: 51.64 MB / 0.545 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)