Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.0016, allocations: 107 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7619/0.7619, allocations: 93.72 MB / 390.9 MB, free: 4.609 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 84.06 kB / 0.5285 GB, free: 40.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1226, allocations: 68.28 MB / 0.5951 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1867/0.3094, allocations: 149.5 MB / 0.7412 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3701/0.6796, allocations: 4.618 MB / 0.7457 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006567/0.6803, allocations: 28.22 kB / 0.7457 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008449/0.6812, allocations: 297.1 kB / 0.746 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.6827, allocations: 0.6606 MB / 0.7466 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.684, allocations: 0.4941 MB / 0.7471 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.6853, allocations: 0.9809 MB / 0.7481 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.6856, allocations: 161.3 kB / 0.7482 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.6867, allocations: 0.5138 MB / 0.7487 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.6872, allocations: 460.4 kB / 0.7492 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.6873, allocations: 42.53 kB / 0.7492 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.689, allocations: 0.7704 MB / 0.7499 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.6892, allocations: 117.8 kB / 0.7501 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.6895, allocations: 313.7 kB / 0.7504 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.6914, allocations: 0.9713 MB / 0.7513 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6914, allocations: 4.625 kB / 0.7513 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6914, allocations: 0.9688 kB / 0.7513 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.6914, allocations: 0 / 0.7513 GB, free: 1.465 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001689/0.6931, allocations: 0.9916 MB / 0.7523 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6932, allocations: 12.03 kB / 0.7523 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.752e-05/0.6933, allocations: 81.3 kB / 0.7524 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.6934, allocations: 78.94 kB / 0.7524 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.6943, allocations: 0.5459 MB / 0.753 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.6943, allocations: 34.92 kB / 0.753 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.6944, allocations: 48.83 kB / 0.7531 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/0.6952, allocations: 0.5067 MB / 0.7536 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6953, allocations: 0.6875 kB / 0.7536 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.6953, allocations: 16.34 kB / 0.7536 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.6953, allocations: 10.47 kB / 0.7536 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008781/0.6962, allocations: 487.5 kB / 0.754 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.699, allocations: 2.172 MB / 0.7562 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.6997, allocations: 365.9 kB / 0.7565 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.7, allocations: 201.8 kB / 0.7567 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002544/0.7026, allocations: 1.993 MB / 0.7587 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.7026, allocations: 45.17 kB / 0.7587 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.7026, allocations: 1 kB / 0.7587 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001485/0.7041, allocations: 0.7925 MB / 0.7595 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.7042, allocations: 57.72 kB / 0.7595 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.7049, allocations: 489 kB / 0.76 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.7049, allocations: 31.86 kB / 0.76 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.7051, allocations: 276.3 kB / 0.7603 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.7052, allocations: 168.3 kB / 0.7604 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.7054, allocations: 87.98 kB / 0.7605 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7056, allocations: 370.5 kB / 0.7609 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.7058, allocations: 128.3 kB / 0.761 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.7061, allocations: 190.1 kB / 0.7612 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.7067, allocations: 340.1 kB / 0.7615 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7068, allocations: 1.375 kB / 0.7615 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001012/0.7078, allocations: 0.5053 MB / 0.762 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.7078, allocations: 5.5 kB / 0.762 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7078, allocations: 0 / 0.762 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.7081, allocations: 72.47 kB / 0.7621 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.7084, allocations: 88.3 kB / 0.7622 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.7109, allocations: 2.924 MB / 0.765 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.7112, allocations: 41.45 kB / 0.7651 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.7113, allocations: 20.73 kB / 0.7651 GB, free: 9.418 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.7116, allocations: 173.6 kB / 0.7652 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.7117, allocations: 65.27 kB / 0.7653 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.7129, allocations: 0.722 MB / 0.766 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7129, allocations: 5.062 kB / 0.766 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.7129, allocations: 5 kB / 0.766 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.7129, allocations: 3.234 kB / 0.766 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.7147, allocations: 1.188 MB / 0.7672 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7147, allocations: 0.8438 kB / 0.7672 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.7149, allocations: 81.53 kB / 0.7673 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.7152, allocations: 66.02 kB / 0.7673 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.7152, allocations: 12.41 kB / 0.7673 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.7175, allocations: 2.93 MB / 0.7702 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7176, allocations: 1 kB / 0.7702 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.7187, allocations: 0.7636 MB / 0.7709 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.7189, allocations: 142.5 kB / 0.7711 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.719, allocations: 13.19 kB / 0.7711 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.7192, allocations: 10.12 kB / 0.7711 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.7193, allocations: 42.17 kB / 0.7711 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.7194, allocations: 19.8 kB / 0.7712 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003915/0.7198, allocations: 364.9 kB / 0.7715 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7198, allocations: 0 / 0.7715 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007463/0.7205, allocations: 204.2 kB / 0.7717 GB, free: 5.543 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001979/0.7225, allocations: 1.479 MB / 0.7732 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.7235, allocations: 0.5997 MB / 0.7737 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7235, allocations: 0 / 0.7737 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.7241, allocations: 443.8 kB / 0.7742 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009483/0.7251, allocations: 184.2 kB / 0.7743 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.7315, allocations: 4.775 MB / 0.779 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.7321, allocations: 0.8706 MB / 0.7799 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004221/0.7325, allocations: 125.3 kB / 0.78 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.7328, allocations: 236.2 kB / 0.7802 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of SimCode: time 4.8e-07/0.7328, allocations: 0 / 0.7802 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.7826, allocations: 16.63 MB / 0.7964 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.8, allocations: 18.08 kB / 0.7965 GB, free: 14.9 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 15.287264971062541] Failed to read output from testmodel.py, exit status != 0: 11.891770849004388 11.914078921 11.218493954 Calling exit ...