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.0009938/0.0009937, allocations: 174.4 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0008607/0.0008606, allocations: 87.42 kB / 261.4 MB, free: 13.44 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.6929/0.6929, allocations: 90.37 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.729e-05, allocations: 4 kB / 472.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 66.26 MB / 0.5259 GB, free: 28.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5896/0.9153, allocations: 284.4 MB / 0.8037 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.9156, allocations: 85.39 kB / 0.8038 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.61/3.525, allocations: 0.7544 GB / 1.558 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/3.525, allocations: 0 / 1.558 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001147/3.525, allocations: 43.98 kB / 1.558 GB, free: 14.06 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.01383/3.539, allocations: 4.341 MB / 1.562 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/3.539, allocations: 8.031 kB / 1.562 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/3.542, allocations: 337.4 kB / 1.563 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/3.543, allocations: 0.915 MB / 1.564 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/3.543, allocations: 51.95 kB / 1.564 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/3.544, allocations: 95.91 kB / 1.564 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001705/3.545, allocations: 0.8964 MB / 1.565 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/3.547, allocations: 1.263 MB / 1.566 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/3.547, allocations: 7.922 kB / 1.566 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.224e-05/3.547, allocations: 0 / 1.566 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/3.548, allocations: 48 kB / 1.566 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4184/3.966, allocations: 7.318 MB / 1.573 GB, free: 55.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/3.968, allocations: 1.053 MB / 1.574 GB, free: 55.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/3.968, allocations: 443.9 kB / 1.575 GB, free: 55.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/3.97, allocations: 2.218 MB / 1.577 GB, free: 52.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/3.97, allocations: 47.44 kB / 1.577 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 3.897e-06/3.97, allocations: 0 / 1.577 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01897/3.989, allocations: 5.604 MB / 1.582 GB, free: 51.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/3.989, allocations: 68.31 kB / 1.582 GB, free: 51.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/3.99, allocations: 0.6788 MB / 1.583 GB, free: 51.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/3.99, allocations: 25.7 kB / 1.583 GB, free: 51.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/3.991, allocations: 0.7207 MB / 1.584 GB, free: 51.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/3.991, allocations: 0.4937 MB / 1.584 GB, free: 50.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/3.991, allocations: 0 / 1.584 GB, free: 50.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001/3.991, allocations: 371.9 kB / 1.585 GB, free: 50.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/3.992, allocations: 417.7 kB / 1.585 GB, free: 50.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/3.993, allocations: 0.687 MB / 1.586 GB, free: 50.33 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.004513/3.997, allocations: 1.459 MB / 1.587 GB, free: 49.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/3.997, allocations: 2.594 kB / 1.587 GB, free: 49.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005771/4.003, allocations: 2.135 MB / 1.589 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/4.003, allocations: 12.11 kB / 1.589 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/4.003, allocations: 5.688 kB / 1.589 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/4.004, allocations: 184 kB / 1.589 GB, free: 49.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/4.005, allocations: 338.9 kB / 1.59 GB, free: 49.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/4.009, allocations: 7.79 MB / 1.597 GB, free: 42.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/4.01, allocations: 62.47 kB / 1.597 GB, free: 42.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/4.01, allocations: 84.25 kB / 1.597 GB, free: 42.51 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 () * 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.0002947/4.011, allocations: 139.5 kB / 1.598 GB, free: 42.4 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005877/4.017, allocations: 1.861 MB / 1.599 GB, free: 42.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/4.017, allocations: 138.1 kB / 1.599 GB, free: 42.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007342/4.024, allocations: 2.714 MB / 1.602 GB, free: 41.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005269/4.03, allocations: 1.768 MB / 1.604 GB, free: 41.85 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/4.03, allocations: 6.156 kB / 1.604 GB, free: 41.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/4.03, allocations: 3.656 kB / 1.604 GB, free: 41.85 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/4.04, allocations: 3.664 MB / 1.607 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/4.04, allocations: 4.375 kB / 1.607 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/4.042, allocations: 271.7 kB / 1.608 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005924/4.042, allocations: 190.6 kB / 1.608 GB, free: 41.38 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/4.042, allocations: 44.59 kB / 1.608 GB, free: 41.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/4.047, allocations: 7.776 MB / 1.616 GB, free: 34.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/4.047, allocations: 9.719 kB / 1.616 GB, free: 34.22 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008562/4.055, allocations: 2.78 MB / 1.618 GB, free: 33.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/4.056, allocations: 191.9 kB / 1.618 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005139/4.057, allocations: 9.484 kB / 1.618 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/4.058, allocations: 54.84 kB / 1.618 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/4.058, allocations: 142 kB / 1.619 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/4.059, allocations: 68.17 kB / 1.619 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00108/4.06, allocations: 0.4966 MB / 1.619 GB, free: 33.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/4.06, allocations: 0 / 1.619 GB, free: 33.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008657/4.068, allocations: 1.59 MB / 1.621 GB, free: 33.41 MB / 0.5886 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.01603/4.084, allocations: 5.808 MB / 1.626 GB, free: 31.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003634/4.088, allocations: 2.254 MB / 1.629 GB, free: 30.72 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/4.088, allocations: 0 / 1.629 GB, free: 30.72 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/4.09, allocations: 1.713 MB / 1.63 GB, free: 29.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/4.092, allocations: 263.9 kB / 1.631 GB, free: 29.65 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/4.103, allocations: 3.819 MB / 1.634 GB, free: 28.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/4.104, allocations: 1.334 MB / 1.636 GB, free: 28.13 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002018/4.106, allocations: 0.6592 MB / 1.636 GB, free: 28.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/4.107, allocations: 0.7094 MB / 1.637 GB, free: 28.12 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/4.107, allocations: 3.125 kB / 1.637 GB, free: 28.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09057/4.198, allocations: 51.21 MB / 1.687 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/4.198, allocations: 200.7 kB / 1.687 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/7.991, allocations: 0 / 1.687 GB, free: 24.88 MB / 0.5886 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