Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_Buildings_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.001166/0.001166, allocations: 99.7 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.001258/0.001258, allocations: 177.3 kB / 15.95 MB, free: 216 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.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003385, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7494, allocations: 142.3 MB / 0.9536 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03051/0.78, allocations: 30.05 MB / 0.9829 GB, free: 452 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.7903, allocations: 6.608 MB / 0.9894 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.7918, allocations: 27.75 kB / 0.9894 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.7931, allocations: 358.9 kB / 0.9898 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005251/0.7984, allocations: 1.12 MB / 0.9909 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.8027, allocations: 1.034 MB / 0.9919 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003871/0.8066, allocations: 1.241 MB / 0.9931 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.8079, allocations: 0.5427 MB / 0.9936 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.81, allocations: 0.6695 MB / 0.9943 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008849/0.8109, allocations: 402.2 kB / 0.9946 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.8111, allocations: 28 kB / 0.9947 GB, free: 6 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.8128, allocations: 443.4 kB / 0.9951 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.813, allocations: 147.5 kB / 0.9952 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.8133, allocations: 197.3 kB / 0.9954 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.8148, allocations: 0.9919 MB / 0.9964 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8148, allocations: 0 / 0.9964 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.51e-06/0.8149, allocations: 0 / 0.9964 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.8149, allocations: 3.938 kB / 0.9964 GB, free: 4.227 MB / 0.7481 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.001931/0.8168, allocations: 1.039 MB / 0.9974 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.8169, allocations: 8.031 kB / 0.9974 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.817, allocations: 102.5 kB / 0.9975 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.8192, allocations: 314.6 kB / 0.9978 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.8205, allocations: 0.691 MB / 0.9985 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.8206, allocations: 49.3 kB / 0.9985 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.8207, allocations: 52 kB / 0.9986 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.8224, allocations: 0.807 MB / 0.9994 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.8224, allocations: 0 / 0.9994 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.8225, allocations: 24 kB / 0.9994 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.8225, allocations: 20 kB / 0.9994 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.8244, allocations: 0.6373 MB / 1 GB, free: 336 kB / 0.7481 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.004754/0.8292, allocations: 4.008 MB / 1.004 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.8309, allocations: 487.9 kB / 1.004 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.8316, allocations: 0.5376 MB / 1.005 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.8316, allocations: 34.56 kB / 1.005 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.8316, allocations: 0 / 1.005 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of matching and sorting (n=26): time 0.002799/0.8344, allocations: 0.8017 MB / 1.006 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.8345, allocations: 106.8 kB / 1.006 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.8352, allocations: 0.6016 MB / 1.006 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.8352, allocations: 33.7 kB / 1.006 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.8355, allocations: 391.6 kB / 1.007 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-05/0.8356, allocations: 90.73 kB / 1.007 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.8357, allocations: 8 kB / 1.007 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8358, allocations: 366.8 kB / 1.007 GB, free: 8.391 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.8366, allocations: 212.7 kB / 1.007 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.8375, allocations: 363.9 kB / 1.008 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.8383, allocations: 253.2 kB / 1.008 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.8383, allocations: 7.938 kB / 1.008 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00192/0.8402, allocations: 0.6746 MB / 1.009 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.8403, allocations: 8 kB / 1.009 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8403, allocations: 4 kB / 1.009 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.8406, allocations: 60.83 kB / 1.009 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.8413, allocations: 135.9 kB / 1.009 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004828/0.8418, allocations: 0.6148 MB / 1.01 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/0.8427, allocations: 119.4 kB / 1.01 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.8428, allocations: 31.95 kB / 1.01 GB, free: 5.828 MB / 0.7637 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003894/0.8432, allocations: 225.6 kB / 1.01 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.8433, allocations: 63.25 kB / 1.01 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.8453, allocations: 0.6419 MB / 1.011 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.8453, allocations: 0 / 1.011 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.8453, allocations: 4 kB / 1.011 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001719/0.847, allocations: 0.7265 MB / 1.011 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.8498, allocations: 1.301 MB / 1.013 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8498, allocations: 7.953 kB / 1.013 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.8504, allocations: 84 kB / 1.013 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.8506, allocations: 60.75 kB / 1.013 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.8506, allocations: 11.98 kB / 1.013 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004115/0.851, allocations: 0.6148 MB / 1.013 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.851, allocations: 8.094 kB / 1.013 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.8537, allocations: 0.9702 MB / 1.014 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.8541, allocations: 212.2 kB / 1.014 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.8542, allocations: 8 kB / 1.015 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/0.8552, allocations: 83.84 kB / 1.015 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.8553, allocations: 27.92 kB / 1.015 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.8554, allocations: 27.95 kB / 1.015 GB, free: 496 kB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006945/0.8561, allocations: 427.1 kB / 1.015 GB, free: 72 kB / 0.7637 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8561, allocations: 0 / 1.015 GB, free: 72 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00105/0.8571, allocations: 287.3 kB / 1.015 GB, free: 15.79 MB / 0.7794 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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003749/0.8609, allocations: 2.061 MB / 1.017 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.8628, allocations: 0.5117 MB / 1.018 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8628, allocations: 0 / 1.018 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.8637, allocations: 241.2 kB / 1.018 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.8654, allocations: 316.1 kB / 1.018 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.8698, allocations: 4.621 MB / 1.023 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.8704, allocations: 0.9409 MB / 1.024 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007035/0.8711, allocations: 148.7 kB / 1.024 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.8714, allocations: 267.3 kB / 1.024 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of SimCode: time 8.82e-07/0.8715, allocations: 4 kB / 1.024 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.9094, allocations: 19.53 MB / 1.043 GB, free: 3.332 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.9096, allocations: 262.5 kB / 1.044 GB, free: 2.973 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/3.047, allocations: 0 / 1.044 GB, free: 2.973 MB / 0.795 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat does not exist to compare? outputFormat=mat