Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008044/0.0008045, allocations: 178.7 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.06/1.06, allocations: 205 MB / 221.2 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006293/0.0006293, allocations: 82.31 kB / 269.2 MB, free: 13.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 5.511/5.511, allocations: 90.5 MB / 407.6 MB, free: 15.43 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000239/0.000239, allocations: 8.188 kB / 484.3 MB, free: 2.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08309/0.08334, allocations: 65.82 MB / 0.5372 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.578/0.6613, allocations: 300.8 MB / 0.831 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.6843, allocations: 32.84 MB / 0.8631 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007511/0.6851, allocations: 22.53 kB / 0.8631 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.6874, allocations: 1.297 MB / 0.8644 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008054/0.6955, allocations: 4.053 MB / 0.8683 GB, free: 13.86 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.7011, allocations: 2.693 MB / 0.871 GB, free: 13.16 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.7031, allocations: 3.114 MB / 0.874 GB, free: 12.57 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.7036, allocations: 0.5169 MB / 0.8745 GB, free: 12.4 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.7053, allocations: 1.091 MB / 0.8756 GB, free: 12.1 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009498/0.7063, allocations: 0.8459 MB / 0.8764 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.7064, allocations: 50.03 kB / 0.8764 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.7197, allocations: 11.93 MB / 0.8881 GB, free: 1.234 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.7201, allocations: 360.5 kB / 0.8884 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.7207, allocations: 0.6525 MB / 0.8891 GB, free: 252 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.729, allocations: 6.655 MB / 0.8956 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.729, allocations: 3.281 kB / 0.8956 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.729, allocations: 0 / 0.8956 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.7291, allocations: 4 kB / 0.8956 GB, free: 10.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00371/0.7328, allocations: 2.49 MB / 0.898 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.7328, allocations: 12.03 kB / 0.898 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.733, allocations: 185.6 kB / 0.8982 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.7332, allocations: 150.2 kB / 0.8983 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/0.734, allocations: 0.7081 MB / 0.899 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.734, allocations: 85.69 kB / 0.8991 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.7342, allocations: 119.2 kB / 0.8992 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.7362, allocations: 1.804 MB / 0.901 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.7362, allocations: 0 / 0.901 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.7363, allocations: 48.14 kB / 0.901 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.7364, allocations: 110.4 kB / 0.9011 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.7385, allocations: 1.912 MB / 0.903 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006449/0.745, allocations: 8.075 MB / 0.9109 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.7462, allocations: 0.9478 MB / 0.9118 GB, free: 8.742 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/0.747, allocations: 0.7317 MB / 0.9125 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/0.7494, allocations: 4.349 MB / 0.9168 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.7495, allocations: 39.56 kB / 0.9168 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=105): time 2.234e-06/0.7495, allocations: 0 / 0.9168 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of matching and sorting (n=107): time 0.00534/0.7548, allocations: 3.988 MB / 0.9207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.7549, allocations: 67.31 kB / 0.9208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.7553, allocations: 0.4914 MB / 0.9213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.7554, allocations: 41.7 kB / 0.9213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.7556, allocations: 0.496 MB / 0.9218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.7558, allocations: 368 kB / 0.9221 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.7559, allocations: 16 kB / 0.9222 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.756, allocations: 394.7 kB / 0.9225 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.7566, allocations: 0.5291 MB / 0.923 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.7574, allocations: 0.6154 MB / 0.9236 GB, free: 11.68 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7589, allocations: 1.308 MB / 0.9249 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.759, allocations: 7.875 kB / 0.9249 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002103/0.7611, allocations: 1.565 MB / 0.9265 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7611, allocations: 8 kB / 0.9265 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7611, allocations: 0 / 0.9265 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.7615, allocations: 163.2 kB / 0.9266 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.7621, allocations: 200.3 kB / 0.9268 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.7644, allocations: 2.473 MB / 0.9292 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.7648, allocations: 95.86 kB / 0.9293 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.765, allocations: 95.95 kB / 0.9294 GB, free: 5.641 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (96): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003616/0.7653, allocations: 321 kB / 0.9297 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.7655, allocations: 82.97 kB / 0.9298 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.7685, allocations: 1.977 MB / 0.9317 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.7686, allocations: 16 kB / 0.9317 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7686, allocations: 0 / 0.9317 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7686, allocations: 11.97 kB / 0.9318 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.7729, allocations: 3.51 MB / 0.9352 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7729, allocations: 0 / 0.9352 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.7735, allocations: 204.7 kB / 0.9354 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/0.7739, allocations: 170.5 kB / 0.9355 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.774, allocations: 55.48 kB / 0.9356 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.7762, allocations: 2.458 MB / 0.938 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7762, allocations: 3 kB / 0.938 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.7792, allocations: 2.556 MB / 0.9405 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7793, allocations: 152.1 kB / 0.9406 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.7794, allocations: 23.98 kB / 0.9407 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.7799, allocations: 103.3 kB / 0.9408 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.7801, allocations: 94.84 kB / 0.9409 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.7802, allocations: 91.95 kB / 0.9409 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000301/0.7805, allocations: 354.8 kB / 0.9413 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7805, allocations: 0 / 0.9413 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001961/0.7825, allocations: 1.171 MB / 0.9424 GB, free: 8.176 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow) * 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 (97): * Single equations (assignments): 90 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005718/0.7882, allocations: 4.762 MB / 0.9471 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.7902, allocations: 1.656 MB / 0.9487 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7902, allocations: 0 / 0.9487 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.7914, allocations: 1.008 MB / 0.9497 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.7926, allocations: 335.8 kB / 0.95 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.8033, allocations: 10.38 MB / 0.9601 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.8039, allocations: 1.194 MB / 0.9613 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001012/0.805, allocations: 369.8 kB / 0.9616 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006784/0.8056, allocations: 0.5344 MB / 0.9622 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.8056, allocations: 6.906 kB / 0.9622 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05538/0.861, allocations: 49.65 MB / 1.011 GB, free: 2.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.8612, allocations: 275.3 kB / 1.011 GB, free: 2.156 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/4.083, allocations: 3.938 kB / 1.011 GB, free: 2.152 MB / 0.698 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches