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.007695/0.007695, allocations: 169.7 kB / 15.11 MB, free: 5.973 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.856/1.856, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008981/0.0008981, allocations: 98.84 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.923/0.923, allocations: 90.6 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004494, allocations: 12 kB / 485.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4924, allocations: 66.27 MB / 0.5387 GB, free: 45.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7045/1.197, allocations: 285.2 MB / 0.8172 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/1.197, allocations: 85.5 kB / 0.8173 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.951/4.149, allocations: 0.7608 GB / 1.578 GB, free: 52.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.676e-06/4.149, allocations: 0 / 1.578 GB, free: 52.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001267/4.149, allocations: 47.98 kB / 1.578 GB, free: 52.36 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.01738/4.167, allocations: 4.51 MB / 1.583 GB, free: 47.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/4.167, allocations: 12.03 kB / 1.583 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007275/4.167, allocations: 215.9 kB / 1.583 GB, free: 47.56 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/4.17, allocations: 357.2 kB / 1.583 GB, free: 47.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/4.172, allocations: 0.9072 MB / 1.584 GB, free: 46.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/4.172, allocations: 119 kB / 1.584 GB, free: 46.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/4.172, allocations: 155.9 kB / 1.584 GB, free: 45.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/4.176, allocations: 1.623 MB / 1.586 GB, free: 44.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/4.176, allocations: 0 / 1.586 GB, free: 44.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/4.176, allocations: 64 kB / 1.586 GB, free: 44.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/4.176, allocations: 43.95 kB / 1.586 GB, free: 44.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/4.179, allocations: 1.196 MB / 1.587 GB, free: 42.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008233/4.187, allocations: 7.598 MB / 1.594 GB, free: 34.83 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/4.19, allocations: 1.245 MB / 1.596 GB, free: 33.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/4.192, allocations: 2.22 MB / 1.598 GB, free: 30.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/4.192, allocations: 47.88 kB / 1.598 GB, free: 30.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 4.809e-06/4.192, allocations: 4 kB / 1.598 GB, free: 30.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01503/4.207, allocations: 6.732 MB / 1.604 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/4.207, allocations: 64.72 kB / 1.605 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/4.208, allocations: 0.856 MB / 1.605 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/4.208, allocations: 49.7 kB / 1.605 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/4.208, allocations: 0.7151 MB / 1.606 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/4.209, allocations: 0.5082 MB / 1.607 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/4.209, allocations: 32 kB / 1.607 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/4.209, allocations: 361.9 kB / 1.607 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009469/4.21, allocations: 0.531 MB / 1.608 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/4.211, allocations: 0.8115 MB / 1.608 GB, free: 19.59 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.001371/4.212, allocations: 0.9677 MB / 1.609 GB, free: 18.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/4.212, allocations: 4 kB / 1.609 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003541/4.216, allocations: 1.832 MB / 1.611 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/4.216, allocations: 16.03 kB / 1.611 GB, free: 16.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/4.216, allocations: 11.95 kB / 1.611 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/4.216, allocations: 192.9 kB / 1.611 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/4.218, allocations: 335.5 kB / 1.612 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/4.222, allocations: 8.163 MB / 1.62 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/4.224, allocations: 87.88 kB / 1.62 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/4.224, allocations: 87.95 kB / 1.62 GB, free: 7.012 MB / 0.5886 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 () * Number of clocked 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.0007741/4.225, allocations: 321.1 kB / 1.62 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/4.225, allocations: 154.1 kB / 1.62 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/4.23, allocations: 2.394 MB / 1.623 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00245/4.232, allocations: 1.405 MB / 1.624 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/4.232, allocations: 4 kB / 1.624 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/4.232, allocations: 7.969 kB / 1.624 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/4.238, allocations: 3.492 MB / 1.627 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/4.238, allocations: 0 / 1.627 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/4.24, allocations: 275.9 kB / 1.628 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/4.24, allocations: 192.5 kB / 1.628 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/4.24, allocations: 59.94 kB / 1.628 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006192/4.247, allocations: 8.167 MB / 1.636 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/4.247, allocations: 0 / 1.636 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/4.252, allocations: 2.548 MB / 1.638 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/4.253, allocations: 215.1 kB / 1.638 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/4.253, allocations: 36 kB / 1.639 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/4.254, allocations: 75.8 kB / 1.639 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/4.254, allocations: 141 kB / 1.639 GB, free: 2.543 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/4.255, allocations: 63.95 kB / 1.639 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009936/4.256, allocations: 0.6524 MB / 1.639 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/4.256, allocations: 0 / 1.639 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007347/4.263, allocations: 1.643 MB / 1.641 GB, free: 184 kB / 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 () * Number of clocked 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.4764/4.739, allocations: 5.606 MB / 1.647 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004416/4.744, allocations: 2.552 MB / 1.649 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/4.744, allocations: 2.469 kB / 1.649 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/4.746, allocations: 1.87 MB / 1.651 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/4.748, allocations: 333.8 kB / 1.651 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/4.771, allocations: 16.05 MB / 1.667 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/4.771, allocations: 1.339 MB / 1.668 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001967/4.773, allocations: 0.6761 MB / 1.669 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/4.775, allocations: 0.7291 MB / 1.669 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/4.775, allocations: 0 / 1.669 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/4.911, allocations: 56.81 MB / 1.725 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/4.911, allocations: 274.3 kB / 1.725 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.714/9.625, allocations: 3.906 kB / 1.725 GB, free: 52.21 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