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.004306/0.004305, allocations: 170.4 kB / 15.13 MB, free: 6.023 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.548/1.548, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0008186/0.0008183, allocations: 82.31 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7734/0.7734, allocations: 90.6 MB / 408.5 MB, free: 14.94 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 8 kB / 485.3 MB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3719, allocations: 66.28 MB / 0.5387 GB, free: 45.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6416/1.014, allocations: 276.4 MB / 0.8086 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03123/1.045, allocations: 29.87 MB / 0.8378 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/1.047, allocations: 20.72 kB / 0.8378 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002629/1.049, allocations: 0.8768 MB / 0.8387 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01109/1.06, allocations: 3.554 MB / 0.8421 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007656/1.068, allocations: 2.269 MB / 0.8444 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004226/1.072, allocations: 2.598 MB / 0.8469 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008479/1.073, allocations: 484.2 kB / 0.8474 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/1.076, allocations: 1.064 MB / 0.8484 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/1.077, allocations: 0.82 MB / 0.8492 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/1.077, allocations: 52.44 kB / 0.8492 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01716/1.094, allocations: 8.745 MB / 0.8578 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006378/1.095, allocations: 368.9 kB / 0.8581 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006552/1.096, allocations: 301.4 kB / 0.8584 GB, free: 16.15 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008538/1.104, allocations: 4.125 MB / 0.8625 GB, free: 14.56 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/1.104, allocations: 0 / 0.8625 GB, free: 14.56 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.363e-06/1.104, allocations: 0 / 0.8625 GB, free: 14.56 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.884e-05/1.104, allocations: 0 / 0.8625 GB, free: 14.56 MB / 0.573 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.005215/1.109, allocations: 2.509 MB / 0.8649 GB, free: 12.85 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.109, allocations: 19.12 kB / 0.8649 GB, free: 12.83 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/1.11, allocations: 182 kB / 0.8651 GB, free: 12.72 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/1.11, allocations: 150.2 kB / 0.8652 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/1.111, allocations: 0.6786 MB / 0.8659 GB, free: 12.03 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/1.111, allocations: 88.61 kB / 0.866 GB, free: 11.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.111, allocations: 119.3 kB / 0.8661 GB, free: 11.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/1.114, allocations: 1.797 MB / 0.8679 GB, free: 10.67 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.114, allocations: 0 / 0.8679 GB, free: 10.67 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/1.114, allocations: 50.19 kB / 0.8679 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/1.114, allocations: 116.5 kB / 0.868 GB, free: 10.56 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/1.116, allocations: 1.899 MB / 0.8699 GB, free: 9.289 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00804/1.124, allocations: 8.056 MB / 0.8777 GB, free: 1.984 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/1.126, allocations: 0.9472 MB / 0.8787 GB, free: 1.355 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009145/1.127, allocations: 0.7288 MB / 0.8794 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003539/1.13, allocations: 4.353 MB / 0.8836 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/1.13, allocations: 48.44 kB / 0.8837 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=105): time 5.851e-06/1.13, allocations: 3.984 kB / 0.8837 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=107): time 0.00665/1.137, allocations: 3.972 MB / 0.8875 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.137, allocations: 68.41 kB / 0.8876 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/1.137, allocations: 499 kB / 0.8881 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/1.138, allocations: 44.02 kB / 0.8881 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/1.138, allocations: 0.4917 MB / 0.8886 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/1.138, allocations: 365.9 kB / 0.889 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/1.138, allocations: 16.38 kB / 0.889 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.139, allocations: 390.5 kB / 0.8893 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/1.139, allocations: 0.5292 MB / 0.8899 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/1.14, allocations: 0.6155 MB / 0.8905 GB, free: 6.852 MB / 0.5886 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.0009966/1.141, allocations: 0.6825 MB / 0.8911 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.141, allocations: 0 / 0.8911 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002533/1.144, allocations: 1.564 MB / 0.8927 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.144, allocations: 8 kB / 0.8927 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.144, allocations: 0 / 0.8927 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/1.144, allocations: 157.4 kB / 0.8928 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/1.145, allocations: 203.8 kB / 0.893 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/1.148, allocations: 2.46 MB / 0.8954 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/1.149, allocations: 97.12 kB / 0.8955 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.149, allocations: 98.77 kB / 0.8956 GB, free: 2.887 MB / 0.5886 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): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 1 * 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.0005535/1.149, allocations: 323 kB / 0.8959 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/1.149, allocations: 78.97 kB / 0.896 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/1.153, allocations: 1.981 MB / 0.8979 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/1.153, allocations: 10.94 kB / 0.8979 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.153, allocations: 4 kB / 0.8979 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/1.153, allocations: 7.969 kB / 0.8979 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/1.158, allocations: 3.509 MB / 0.9014 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.158, allocations: 3.953 kB / 0.9014 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/1.159, allocations: 205.2 kB / 0.9016 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/1.159, allocations: 163.4 kB / 0.9017 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.159, allocations: 54.64 kB / 0.9018 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/1.162, allocations: 2.454 MB / 0.9042 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.162, allocations: 0 / 0.9042 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/1.166, allocations: 2.547 MB / 0.9067 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/1.166, allocations: 151.4 kB / 0.9068 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.166, allocations: 22.5 kB / 0.9068 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/1.167, allocations: 103.9 kB / 0.9069 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.167, allocations: 99.05 kB / 0.907 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.167, allocations: 98.47 kB / 0.9071 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003744/1.167, allocations: 349.1 kB / 0.9074 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/1.167, allocations: 0 / 0.9074 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003098/1.17, allocations: 1.171 MB / 0.9086 GB, free: 9.109 MB / 0.6042 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 (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.007202/1.178, allocations: 4.714 MB / 0.9132 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002402/1.18, allocations: 1.641 MB / 0.9148 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.18, allocations: 8.188 kB / 0.9148 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.181, allocations: 1.003 MB / 0.9158 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.183, allocations: 331.9 kB / 0.9161 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.193, allocations: 7.475 MB / 0.9234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/1.194, allocations: 1.186 MB / 0.9246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001262/1.195, allocations: 373 kB / 0.9249 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007643/1.196, allocations: 0.5359 MB / 0.9254 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/1.196, allocations: 0 / 0.9254 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07734/1.273, allocations: 49.35 MB / 0.9736 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/1.274, allocations: 260.3 kB / 0.9739 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.747/5.02, allocations: 0 / 0.9739 GB, free: 10.25 MB / 0.6667 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) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream_res.mat does not exist to compare? outputFormat=mat