Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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.001501/0.001501, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001515/0.001515, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.465/1.465, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.7825/0.7825, allocations: 93.72 MB / 390.9 MB, free: 4.629 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.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 90.64 kB / 0.5285 GB, free: 40.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1191, allocations: 68.27 MB / 0.5951 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5826/0.7017, allocations: 189.2 MB / 0.7799 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007509/0.7093, allocations: 7.349 MB / 0.7871 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.7104, allocations: 33.69 kB / 0.7871 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.7115, allocations: 382.8 kB / 0.7875 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.7153, allocations: 1.29 MB / 0.7888 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.7171, allocations: 0.6702 MB / 0.7894 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003586/0.7207, allocations: 2.426 MB / 0.7918 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.7211, allocations: 205 kB / 0.792 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.7238, allocations: 1.639 MB / 0.7936 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008434/0.7247, allocations: 0.5772 MB / 0.7941 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.7248, allocations: 58.47 kB / 0.7942 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.7276, allocations: 1.141 MB / 0.7953 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.7278, allocations: 148.6 kB / 0.7955 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.7283, allocations: 410.5 kB / 0.7958 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.7311, allocations: 1.496 MB / 0.7973 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7311, allocations: 0.9062 kB / 0.7973 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7311, allocations: 3.938 kB / 0.7973 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.7312, allocations: 0 / 0.7973 GB, free: 0.8281 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00262/0.7338, allocations: 1.411 MB / 0.7987 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.7338, allocations: 9.719 kB / 0.7987 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.862e-05/0.7339, allocations: 89.44 kB / 0.7988 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.7349, allocations: 170.9 kB / 0.7989 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.7358, allocations: 0.6729 MB / 0.7996 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.7358, allocations: 33.88 kB / 0.7996 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.7359, allocations: 52.16 kB / 0.7997 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.737, allocations: 0.5859 MB / 0.8003 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.737, allocations: 5.297 kB / 0.8003 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.7371, allocations: 17.16 kB / 0.8003 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.7371, allocations: 13.72 kB / 0.8003 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.7381, allocations: 466.4 kB / 0.8007 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.7415, allocations: 2.68 MB / 0.8034 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/0.7425, allocations: 463.6 kB / 0.8038 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.743, allocations: 246.9 kB / 0.804 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.7433, allocations: 272.7 kB / 0.8043 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007053/0.744, allocations: 388.9 kB / 0.8047 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.034e-06/0.7441, allocations: 0 / 0.8047 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.00253/0.7466, allocations: 1.043 MB / 0.8057 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.7467, allocations: 87.69 kB / 0.8058 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.7473, allocations: 0.5984 MB / 0.8064 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.7474, allocations: 37.98 kB / 0.8064 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.7476, allocations: 352.6 kB / 0.8067 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.7478, allocations: 190.7 kB / 0.8069 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.748, allocations: 140.1 kB / 0.807 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7482, allocations: 327 kB / 0.8074 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.7487, allocations: 198.3 kB / 0.8075 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.7492, allocations: 258.3 kB / 0.8078 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.7503, allocations: 0.5103 MB / 0.8083 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7503, allocations: 3.062 kB / 0.8083 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001705/0.752, allocations: 0.7798 MB / 0.809 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.7521, allocations: 65.28 kB / 0.8091 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.7521, allocations: 16.12 kB / 0.8091 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.7525, allocations: 85.7 kB / 0.8092 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.753, allocations: 120.1 kB / 0.8093 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.7557, allocations: 3.05 MB / 0.8123 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.7564, allocations: 70.05 kB / 0.8124 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.7565, allocations: 64.5 kB / 0.8124 GB, free: 9.219 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003621/0.7569, allocations: 186.7 kB / 0.8126 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.757, allocations: 81.8 kB / 0.8127 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.7597, allocations: 1.301 MB / 0.814 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.7598, allocations: 6.844 kB / 0.814 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7598, allocations: 5.578 kB / 0.814 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.7598, allocations: 1.594 kB / 0.814 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.7625, allocations: 1.591 MB / 0.8155 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-05/0.7625, allocations: 13.48 kB / 0.8155 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.763, allocations: 121.5 kB / 0.8157 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.7633, allocations: 88.14 kB / 0.8157 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/0.7634, allocations: 33.75 kB / 0.8158 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.766, allocations: 3.065 MB / 0.8188 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.766, allocations: 0 / 0.8188 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.7682, allocations: 1.135 MB / 0.8199 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.7686, allocations: 225.6 kB / 0.8201 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7687, allocations: 15.66 kB / 0.8201 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.7692, allocations: 34.69 kB / 0.8201 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.7694, allocations: 83.91 kB / 0.8202 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-05/0.7695, allocations: 69.38 kB / 0.8203 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004649/0.77, allocations: 426.9 kB / 0.8207 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.77, allocations: 0 / 0.8207 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001/0.771, allocations: 300.2 kB / 0.821 GB, free: 5.125 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003539/0.7745, allocations: 1.995 MB / 0.8229 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.7766, allocations: 0.9737 MB / 0.8239 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.7766, allocations: 4.25 kB / 0.8239 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.7778, allocations: 0.6694 MB / 0.8245 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.779, allocations: 218 kB / 0.8247 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7897, allocations: 6.117 MB / 0.8307 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.7904, allocations: 0.9348 MB / 0.8316 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001409/0.7918, allocations: 0.6687 MB / 0.8323 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/0.7925, allocations: 367.2 kB / 0.8326 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.7925, allocations: 3.938 kB / 0.8326 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/0.8581, allocations: 23.15 MB / 0.8552 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.38, allocations: 4.062 kB / 0.8552 GB, free: 5.664 MB / 0.6231 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0025 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.01421336294152] Failed to read output from testmodel.py, exit status != 0: 13.478088462958112 13.506026602 12.770075417 Calling exit ...