Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007822/0.0007821, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008047/0.0008046, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8293/0.8293, allocations: 89.66 MB / 380.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 10.78 kB / 460.1 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 68.84 MB / 0.5166 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.5722/0.7376, allocations: 127.4 MB / 0.641 GB, free: 4.262 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.7414, allocations: 3.054 MB / 0.644 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.7417, allocations: 6.562 kB / 0.644 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.7422, allocations: 106 kB / 0.6441 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.7426, allocations: 159.9 kB / 0.6442 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.7431, allocations: 148.6 kB / 0.6444 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.7434, allocations: 271.5 kB / 0.6446 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.7435, allocations: 34.38 kB / 0.6447 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.7439, allocations: 133.9 kB / 0.6448 GB, free: 1.223 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.744, allocations: 95.72 kB / 0.6449 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.744, allocations: 2.531 kB / 0.6449 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.7445, allocations: 223.2 kB / 0.6451 GB, free: 1.074 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.7445, allocations: 20.92 kB / 0.6451 GB, free: 1.059 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.7445, allocations: 58.3 kB / 0.6452 GB, free: 1.012 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.7448, allocations: 143.5 kB / 0.6453 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7448, allocations: 3.25 kB / 0.6453 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7448, allocations: 0 / 0.6453 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.7448, allocations: 0 / 0.6453 GB, free: 0.9219 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006204/0.7454, allocations: 452.9 kB / 0.6458 GB, free: 488 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.7455, allocations: 14.38 kB / 0.6458 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.7455, allocations: 45.45 kB / 0.6458 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.7456, allocations: 19.16 kB / 0.6458 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.7458, allocations: 230.1 kB / 0.6461 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.7458, allocations: 10.05 kB / 0.6461 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.7459, allocations: 15.83 kB / 0.6461 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.7461, allocations: 136.3 kB / 0.6462 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7461, allocations: 7.125 kB / 0.6462 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7461, allocations: 4 kB / 0.6462 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7462, allocations: 2.812 kB / 0.6462 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.7463, allocations: 76.58 kB / 0.6463 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/0.7471, allocations: 0.7124 MB / 0.647 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.7473, allocations: 80.48 kB / 0.6471 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.7473, allocations: 34.92 kB / 0.6471 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.7475, allocations: 168.5 kB / 0.6473 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.7475, allocations: 34.56 kB / 0.6473 GB, free: 14.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 2.835e-06/0.7475, allocations: 0 / 0.6473 GB, free: 14.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006307/0.7482, allocations: 328.8 kB / 0.6476 GB, free: 14.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.7482, allocations: 88.28 kB / 0.6477 GB, free: 14.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.7485, allocations: 216.1 kB / 0.6479 GB, free: 14.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.7485, allocations: 25.7 kB / 0.6479 GB, free: 14.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.7486, allocations: 124 kB / 0.648 GB, free: 14.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.7486, allocations: 26.56 kB / 0.6481 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.7486, allocations: 0 / 0.6481 GB, free: 14.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.7488, allocations: 333 kB / 0.6484 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.7488, allocations: 18.38 kB / 0.6484 GB, free: 13.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.7489, allocations: 46.36 kB / 0.6484 GB, free: 13.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.101e-05/0.7489, allocations: 34.08 kB / 0.6485 GB, free: 13.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7489, allocations: 0 / 0.6485 GB, free: 13.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000237/0.7492, allocations: 147.2 kB / 0.6486 GB, free: 13.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7492, allocations: 8.219 kB / 0.6486 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7492, allocations: 0 / 0.6486 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.7494, allocations: 42.05 kB / 0.6487 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.7495, allocations: 8.344 kB / 0.6487 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.7514, allocations: 2.559 MB / 0.6512 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.7515, allocations: 14.97 kB / 0.6512 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.7515, allocations: 5.75 kB / 0.6512 GB, free: 11 MB / 478.1 MB 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.7516, allocations: 124.4 kB / 0.6513 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.7517, allocations: 28.08 kB / 0.6513 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.752, allocations: 144.1 kB / 0.6515 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.752, allocations: 3.156 kB / 0.6515 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.752, allocations: 0.875 kB / 0.6515 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.752, allocations: 0 / 0.6515 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.7525, allocations: 0.5032 MB / 0.652 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7525, allocations: 0 / 0.652 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.7526, allocations: 10.39 kB / 0.652 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.7527, allocations: 40.56 kB / 0.652 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.7527, allocations: 9.125 kB / 0.652 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.7544, allocations: 2.551 MB / 0.6545 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7544, allocations: 3.938 kB / 0.6545 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.7547, allocations: 331.5 kB / 0.6548 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.7548, allocations: 90.86 kB / 0.6549 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.7548, allocations: 10.8 kB / 0.6549 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.755, allocations: 8 kB / 0.6549 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.755, allocations: 5.219 kB / 0.6549 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.755, allocations: 10.84 kB / 0.655 GB, free: 7.066 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.7552, allocations: 167.5 kB / 0.6551 GB, free: 6.941 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7552, allocations: 3.344 kB / 0.6551 GB, free: 6.941 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.7555, allocations: 40.95 kB / 0.6552 GB, free: 6.934 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007019/0.7563, allocations: 0.9068 MB / 0.656 GB, free: 6.082 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.7567, allocations: 284.4 kB / 0.6563 GB, free: 5.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7567, allocations: 0 / 0.6563 GB, free: 5.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.7569, allocations: 253.1 kB / 0.6566 GB, free: 5.574 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.7576, allocations: 61.38 kB / 0.6566 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.7593, allocations: 1.191 MB / 0.6578 GB, free: 4.645 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.7596, allocations: 0.7257 MB / 0.6585 GB, free: 3.922 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.7597, allocations: 16.23 kB / 0.6585 GB, free: 3.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.7598, allocations: 49.53 kB / 0.6586 GB, free: 3.871 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7598, allocations: 0 / 0.6586 GB, free: 3.871 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.7772, allocations: 5.155 MB / 0.6636 GB, free: 1.41 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.7774, allocations: 209.1 kB / 0.6638 GB, free: 1.168 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.748, allocations: 0 / 0.6638 GB, free: 1.168 MB / 478.1 MB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat does not exist to compare? outputFormat=mat