Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.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.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",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.001369/0.00137, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.574/1.574, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0009074/0.0009074, allocations: 88.5 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7586/0.7586, allocations: 90.35 MB / 405 MB, free: 8.641 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.196e-05, allocations: 7.984 kB / 479.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3989, allocations: 66.27 MB / 0.5327 GB, free: 28.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6525/1.052, allocations: 285.1 MB / 0.8112 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/1.052, allocations: 81.09 kB / 0.8112 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.752/3.804, allocations: 0.7591 GB / 1.57 GB, free: 35.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.933e-06/3.804, allocations: 0 / 1.57 GB, free: 35.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001604/3.804, allocations: 47.98 kB / 1.57 GB, free: 35.88 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.01306/3.817, allocations: 4.336 MB / 1.575 GB, free: 31.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/3.817, allocations: 12.03 kB / 1.575 GB, free: 31.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006548/3.818, allocations: 215.9 kB / 1.575 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/3.82, allocations: 341.3 kB / 1.575 GB, free: 30.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/3.823, allocations: 0.9072 MB / 1.576 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/3.823, allocations: 118.9 kB / 1.576 GB, free: 29.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004298/3.824, allocations: 155.9 kB / 1.576 GB, free: 29.69 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/3.828, allocations: 1.546 MB / 1.578 GB, free: 28.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/3.828, allocations: 7.875 kB / 1.578 GB, free: 28.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/3.828, allocations: 64 kB / 1.578 GB, free: 28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/3.828, allocations: 43.98 kB / 1.578 GB, free: 27.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/3.831, allocations: 1.073 MB / 1.579 GB, free: 26.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009179/3.84, allocations: 7.592 MB / 1.586 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/3.843, allocations: 1.185 MB / 1.588 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/3.844, allocations: 475.6 kB / 1.588 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/3.845, allocations: 2.217 MB / 1.59 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/3.845, allocations: 51.88 kB / 1.59 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 4.559e-06/3.845, allocations: 0 / 1.59 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01281/3.858, allocations: 4.276 MB / 1.594 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/3.858, allocations: 72.67 kB / 1.594 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/3.86, allocations: 0.8383 MB / 1.595 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/3.86, allocations: 49.7 kB / 1.595 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/3.86, allocations: 0.719 MB / 1.596 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/3.861, allocations: 0.5042 MB / 1.597 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/3.861, allocations: 32 kB / 1.597 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001007/3.861, allocations: 369.9 kB / 1.597 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007597/3.862, allocations: 448 kB / 1.597 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/3.862, allocations: 0.7242 MB / 1.598 GB, free: 6.023 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: conductionElement5.deltaE_system = 0.0 ($START.conductionElement5.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = 0.0 ($START.conductionElement3.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = 0.0 ($START.conductionElement1.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/3.864, allocations: 0.887 MB / 1.599 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/3.864, allocations: 4 kB / 1.599 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003126/3.867, allocations: 1.664 MB / 1.601 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/3.867, allocations: 8 kB / 1.601 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/3.867, allocations: 8 kB / 1.601 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/3.867, allocations: 193.5 kB / 1.601 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/3.868, allocations: 339.5 kB / 1.601 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/3.874, allocations: 8.091 MB / 1.609 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/3.876, allocations: 91.92 kB / 1.609 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/3.876, allocations: 79.95 kB / 1.609 GB, free: 9.762 MB / 0.6042 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000464/3.877, allocations: 193.2 kB / 1.609 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/3.877, allocations: 150.1 kB / 1.609 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00511/3.882, allocations: 2.222 MB / 1.612 GB, free: 7.195 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002453/3.884, allocations: 1.234 MB / 1.613 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/3.885, allocations: 7.984 kB / 1.613 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/3.885, allocations: 3.984 kB / 1.613 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/3.891, allocations: 3.324 MB / 1.616 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/3.891, allocations: 0 / 1.616 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/3.892, allocations: 271.6 kB / 1.616 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005705/3.893, allocations: 185 kB / 1.617 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/3.893, allocations: 67.89 kB / 1.617 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3996/4.293, allocations: 8.083 MB / 1.624 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/4.293, allocations: 7.188 kB / 1.624 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/4.297, allocations: 2.295 MB / 1.627 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/4.297, allocations: 211.1 kB / 1.627 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/4.297, allocations: 32.44 kB / 1.627 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/4.298, allocations: 84.56 kB / 1.627 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/4.298, allocations: 139.8 kB / 1.627 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/4.299, allocations: 66.67 kB / 1.627 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009242/4.299, allocations: 0.6377 MB / 1.628 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/4.3, allocations: 2.312 kB / 1.628 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005886/4.305, allocations: 1.646 MB / 1.629 GB, free: 61.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01197/4.317, allocations: 5.338 MB / 1.635 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003763/4.321, allocations: 2.371 MB / 1.637 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/4.321, allocations: 2.938 kB / 1.637 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/4.323, allocations: 1.765 MB / 1.639 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/4.325, allocations: 347 kB / 1.639 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009092/4.334, allocations: 3.957 MB / 1.643 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009397/4.335, allocations: 1.338 MB / 1.644 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001867/4.337, allocations: 0.6657 MB / 1.645 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009164/4.338, allocations: 0.7281 MB / 1.646 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/4.338, allocations: 0 / 1.646 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09083/4.429, allocations: 56.89 MB / 1.701 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/4.429, allocations: 252.6 kB / 1.701 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/8.857, allocations: 0 / 1.701 GB, free: 53.05 MB / 0.6042 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat does not exist to compare? outputFormat=mat