Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",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.005397/0.005397, allocations: 167.1 kB / 15.13 MB, free: 6.02 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.383/1.383, allocations: 205.4 MB / 221.3 MB, free: 13.73 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.0006924/0.0006923, allocations: 78.33 kB / 269.6 MB, free: 13.27 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.7091/0.7091, allocations: 90.61 MB / 408.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 12 kB / 485.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3351, allocations: 66.28 MB / 0.5387 GB, free: 44.94 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2178/0.553, allocations: 207.1 MB / 0.741 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3106/0.8636, allocations: 28.58 MB / 0.7689 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.8662, allocations: 46.81 kB / 0.7689 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.8696, allocations: 1.417 MB / 0.7703 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.8762, allocations: 2.513 MB / 0.7728 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005291/0.8815, allocations: 1.803 MB / 0.7745 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006742/0.8883, allocations: 4.758 MB / 0.7792 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.8907, allocations: 0.7381 MB / 0.7799 GB, free: 21.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00549/0.8962, allocations: 1.694 MB / 0.7815 GB, free: 21.83 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005123/0.9014, allocations: 2.056 MB / 0.7835 GB, free: 21.82 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005088/0.9019, allocations: 103.9 kB / 0.7836 GB, free: 21.82 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009993/0.9119, allocations: 3.399 MB / 0.787 GB, free: 21.74 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005039/0.9124, allocations: 408.5 kB / 0.7874 GB, free: 21.74 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.9138, allocations: 0.4963 MB / 0.7878 GB, free: 21.71 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.9186, allocations: 3.137 MB / 0.7909 GB, free: 21.44 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9186, allocations: 0 / 0.7909 GB, free: 21.44 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9187, allocations: 0 / 0.7909 GB, free: 21.44 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.98e-05/0.9187, allocations: 1 kB / 0.7909 GB, free: 21.44 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.005741/0.9244, allocations: 2.678 MB / 0.7935 GB, free: 20.12 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9245, allocations: 9.219 kB / 0.7935 GB, free: 20.12 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003385/0.9248, allocations: 291.1 kB / 0.7938 GB, free: 20.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.9253, allocations: 265.1 kB / 0.7941 GB, free: 19.94 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.9268, allocations: 1.075 MB / 0.7951 GB, free: 19.57 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.9269, allocations: 152 kB / 0.7953 GB, free: 19.57 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/0.9272, allocations: 216.9 kB / 0.7955 GB, free: 19.56 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.9308, allocations: 2.435 MB / 0.7978 GB, free: 19.39 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.9309, allocations: 0 / 0.7978 GB, free: 19.39 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.931, allocations: 83.06 kB / 0.7979 GB, free: 19.39 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.9311, allocations: 58.97 kB / 0.798 GB, free: 19.39 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.9342, allocations: 2.267 MB / 0.8002 GB, free: 19.37 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.9468, allocations: 11.91 MB / 0.8118 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.95, allocations: 2.307 MB / 0.8141 GB, free: 12.3 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.9514, allocations: 1.079 MB / 0.8151 GB, free: 12.28 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007399/0.9588, allocations: 6.421 MB / 0.8214 GB, free: 7.965 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.9607, allocations: 1.235 MB / 0.8226 GB, free: 7.637 MB / 0.573 GB Notification: Performance of pre-optimization done (n=217): time 3.827e-06/0.9607, allocations: 0 / 0.8226 GB, free: 7.637 MB / 0.573 GB Notification: Performance of matching and sorting (n=218): time 0.01094/0.9716, allocations: 6.34 MB / 0.8288 GB, free: 5.219 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.9717, allocations: 106.8 kB / 0.8289 GB, free: 5.121 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.9727, allocations: 0.9696 MB / 0.8298 GB, free: 4.828 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.9729, allocations: 57.14 kB / 0.8299 GB, free: 4.797 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.9733, allocations: 0.7686 MB / 0.8306 GB, free: 4.406 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.9737, allocations: 0.728 MB / 0.8314 GB, free: 3.863 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.9739, allocations: 37.41 kB / 0.8314 GB, free: 3.863 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.974, allocations: 379.3 kB / 0.8318 GB, free: 3.531 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.9753, allocations: 0.8103 MB / 0.8325 GB, free: 3.438 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.9766, allocations: 0.9941 MB / 0.8335 GB, free: 3.207 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.9781, allocations: 0.9616 MB / 0.8345 GB, free: 3.109 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9781, allocations: 0 / 0.8345 GB, free: 3.109 MB / 0.573 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004915/0.983, allocations: 2.79 MB / 0.8372 GB, free: 2.555 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.9831, allocations: 36.52 kB / 0.8372 GB, free: 2.523 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.9831, allocations: 3.062 kB / 0.8372 GB, free: 2.523 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.985, allocations: 0.6268 MB / 0.8378 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.986, allocations: 298.2 kB / 0.8381 GB, free: 2.273 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.001, allocations: 15.19 MB / 0.8529 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/1.003, allocations: 182.6 kB / 0.8531 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/1.003, allocations: 81.09 kB / 0.8532 GB, free: 5.867 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,77.8%) 18,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008674/1.004, allocations: 413.1 kB / 0.8536 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/1.004, allocations: 168.2 kB / 0.8538 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006106/1.01, allocations: 3.352 MB / 0.857 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/1.01, allocations: 24 kB / 0.857 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.011, allocations: 8 kB / 0.8571 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.011, allocations: 11.95 kB / 0.8571 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00896/1.02, allocations: 5.735 MB / 0.8627 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.02, allocations: 0 / 0.8627 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.021, allocations: 335.9 kB / 0.863 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/1.022, allocations: 0.5419 MB / 0.8635 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.023, allocations: 82.45 kB / 0.8636 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.034, allocations: 14.04 MB / 0.8773 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.034, allocations: 0 / 0.8773 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/1.042, allocations: 4.35 MB / 0.8816 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/1.043, allocations: 261 kB / 0.8818 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/1.043, allocations: 51.88 kB / 0.8819 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.045, allocations: 158.4 kB / 0.882 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000437/1.045, allocations: 210.1 kB / 0.8822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/1.046, allocations: 89.64 kB / 0.8823 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009351/1.047, allocations: 0.6567 MB / 0.8829 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.202e-06/1.047, allocations: 0 / 0.8829 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003668/1.05, allocations: 0.9084 MB / 0.8838 GB, free: 12.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 8,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009632/1.06, allocations: 5.918 MB / 0.8896 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005874/1.066, allocations: 3.842 MB / 0.8934 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.066, allocations: 4.438 kB / 0.8934 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004125/1.07, allocations: 2.905 MB / 0.8962 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.073, allocations: 0.5472 MB / 0.8967 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.095, allocations: 13.13 MB / 0.9096 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.097, allocations: 1.535 MB / 0.9111 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001729/1.099, allocations: 447.8 kB / 0.9115 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.1, allocations: 0.9142 MB / 0.9124 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.1, allocations: 2.531 kB / 0.9124 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09762/1.198, allocations: 66.08 MB / 0.9769 GB, free: 3.227 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/1.198, allocations: 245.1 kB / 0.9771 GB, free: 2.977 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/5.245, allocations: 0 / 0.9771 GB, free: 2.977 MB / 0.698 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat does not exist to compare? outputFormat=mat