Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleStream",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.001086/0.001087, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001573/0.001573, allocations: 168.7 kB / 15.95 MB, free: 200 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.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8591/0.8591, allocations: 89.66 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 10.28 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 68.84 MB / 0.5166 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.711/0.8674, allocations: 260.6 MB / 0.771 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03426/0.9017, allocations: 25.25 MB / 0.7957 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.9034, allocations: 23.88 kB / 0.7957 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.9064, allocations: 0.8856 MB / 0.7966 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.9177, allocations: 3.55 MB / 0.8001 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004537/0.9223, allocations: 1.374 MB / 0.8014 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004071/0.9264, allocations: 2.709 MB / 0.804 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/0.9273, allocations: 496 kB / 0.8045 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.9301, allocations: 1.098 MB / 0.8056 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.9315, allocations: 0.8678 MB / 0.8064 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.9317, allocations: 55.94 kB / 0.8065 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5032/1.435, allocations: 6.989 MB / 0.8133 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.436, allocations: 380 kB / 0.8137 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008563/1.437, allocations: 312.2 kB / 0.814 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.448, allocations: 3.528 MB / 0.8174 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.448, allocations: 0 / 0.8174 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/1.448, allocations: 1.375 kB / 0.8174 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.3e-05/1.448, allocations: 3.281 kB / 0.8174 GB, free: 12.8 MB / 0.6075 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.0078/1.456, allocations: 2.304 MB / 0.8197 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.456, allocations: 11.39 kB / 0.8197 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003246/1.456, allocations: 182.7 kB / 0.8199 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/1.457, allocations: 164.3 kB / 0.82 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.458, allocations: 0.7346 MB / 0.8207 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/1.458, allocations: 89.91 kB / 0.8208 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/1.458, allocations: 119.3 kB / 0.8209 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/1.462, allocations: 1.768 MB / 0.8227 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.462, allocations: 3.156 kB / 0.8227 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.462, allocations: 46.38 kB / 0.8227 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/1.462, allocations: 113.4 kB / 0.8228 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/1.466, allocations: 1.872 MB / 0.8246 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/1.476, allocations: 7.937 MB / 0.8324 GB, free: 22.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/1.478, allocations: 0.9058 MB / 0.8333 GB, free: 22.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009632/1.479, allocations: 0.6842 MB / 0.8339 GB, free: 22.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/1.481, allocations: 2.352 MB / 0.8362 GB, free: 19.78 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/1.481, allocations: 43.34 kB / 0.8363 GB, free: 19.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=101): time 5.7e-06/1.481, allocations: 0 / 0.8363 GB, free: 19.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103): time 0.00707/1.488, allocations: 3.779 MB / 0.84 GB, free: 19.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/1.488, allocations: 61.88 kB / 0.84 GB, free: 18.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/1.489, allocations: 0.6596 MB / 0.8407 GB, free: 18.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/1.489, allocations: 45.05 kB / 0.8407 GB, free: 18.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/1.49, allocations: 0.5318 MB / 0.8412 GB, free: 18.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/1.49, allocations: 350.5 kB / 0.8416 GB, free: 18.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/1.49, allocations: 18.78 kB / 0.8416 GB, free: 18.33 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.49, allocations: 347 kB / 0.8419 GB, free: 18.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/1.491, allocations: 0.4921 MB / 0.8424 GB, free: 18.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/1.492, allocations: 0.5748 MB / 0.843 GB, free: 17.98 MB / 0.6231 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 = 0.0 ($START.thermalConduction.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/1.493, allocations: 0.6486 MB / 0.8436 GB, free: 17.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/1.493, allocations: 4.734 kB / 0.8436 GB, free: 17.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002287/1.495, allocations: 1.481 MB / 0.845 GB, free: 17.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.495, allocations: 5.688 kB / 0.8451 GB, free: 17.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.495, allocations: 0 / 0.8451 GB, free: 17.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/1.495, allocations: 172.8 kB / 0.8452 GB, free: 17.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/1.496, allocations: 188.5 kB / 0.8454 GB, free: 17.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/1.499, allocations: 2.468 MB / 0.8478 GB, free: 16.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/1.5, allocations: 94.28 kB / 0.8479 GB, free: 16.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/1.5, allocations: 68.12 kB / 0.848 GB, free: 16.38 MB / 0.6231 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 = 0.0. 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): 90 * Array equations: 5 * 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: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005879/1.5, allocations: 314.1 kB / 0.8483 GB, free: 16.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.501, allocations: 93.86 kB / 0.8484 GB, free: 16.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/1.504, allocations: 2.131 MB / 0.8504 GB, free: 16.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.504, allocations: 14.05 kB / 0.8504 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.504, allocations: 3.375 kB / 0.8504 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.504, allocations: 5.766 kB / 0.8505 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/1.509, allocations: 3.321 MB / 0.8537 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.509, allocations: 3.062 kB / 0.8537 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/1.509, allocations: 179.6 kB / 0.8539 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/1.51, allocations: 177.1 kB / 0.854 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/1.51, allocations: 41.92 kB / 0.8541 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/1.513, allocations: 2.462 MB / 0.8565 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.513, allocations: 2.594 kB / 0.8565 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/1.517, allocations: 2.318 MB / 0.8588 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/1.518, allocations: 180.7 kB / 0.8589 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.518, allocations: 19.56 kB / 0.8589 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/1.519, allocations: 98.42 kB / 0.859 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.519, allocations: 90.98 kB / 0.8591 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.519, allocations: 64.89 kB / 0.8592 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006759/1.52, allocations: 0.4886 MB / 0.8597 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/1.52, allocations: 4 kB / 0.8597 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003264/1.523, allocations: 0.9186 MB / 0.8606 GB, free: 13.44 MB / 0.6231 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 (91): * Single equations (assignments): 85 * Array equations: 5 * 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: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006635/1.53, allocations: 4.033 MB / 0.8645 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002429/1.532, allocations: 1.516 MB / 0.866 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.532, allocations: 0 / 0.866 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.533, allocations: 0.918 MB / 0.8669 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.535, allocations: 371.8 kB / 0.8672 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.547, allocations: 7.762 MB / 0.8748 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.549, allocations: 1.221 MB / 0.876 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001762/1.55, allocations: 0.5792 MB / 0.8766 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00087/1.551, allocations: 0.5287 MB / 0.8771 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.485e-06/1.551, allocations: 0 / 0.8771 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08176/1.633, allocations: 45.33 MB / 0.9214 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/1.634, allocations: 242.2 kB / 0.9216 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.97/5.603, allocations: 0 / 0.9216 GB, free: 6.113 MB / 0.6544 GB (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat does not exist to compare? outputFormat=mat