Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000968/0.000968, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9073/0.9073, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7222/0.7222, allocations: 154.5 MB / 413.7 MB, free: 0.8555 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.655e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002129/0.002146, allocations: 1.662 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.003896, allocations: 1.668 MB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.00397, allocations: 0 / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.004414, allocations: 59.56 kB / 0.6214 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.004633, allocations: 99.53 kB / 0.6215 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.004774, allocations: 71.67 kB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.004983, allocations: 187.5 kB / 0.6217 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.00502, allocations: 3.984 kB / 0.6217 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.00512, allocations: 83.81 kB / 0.6218 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.005219, allocations: 67.78 kB / 0.6219 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.005245, allocations: 12 kB / 0.6219 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.005395, allocations: 111.8 kB / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.00546, allocations: 47.84 kB / 0.622 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.005509, allocations: 39.84 kB / 0.6221 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.00578, allocations: 263.2 kB / 0.6223 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.005783, allocations: 3.984 kB / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.91e-07/0.005784, allocations: 0 / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.005788, allocations: 0 / 0.6223 GB, free: 9.344 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005219/0.00631, allocations: 423.5 kB / 0.6227 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.006346, allocations: 13.47 kB / 0.6227 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.006377, allocations: 30.75 kB / 0.6228 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.006421, allocations: 20.8 kB / 0.6228 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.00668, allocations: 199.3 kB / 0.623 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.006692, allocations: 4.375 kB / 0.623 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.006704, allocations: 8.375 kB / 0.623 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.0069, allocations: 165.2 kB / 0.6232 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.006907, allocations: 0 / 0.6232 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.006918, allocations: 0 / 0.6232 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.006922, allocations: 3.938 kB / 0.6232 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.007125, allocations: 187.8 kB / 0.6233 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.007331, allocations: 208.6 kB / 0.6235 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.007629, allocations: 193.7 kB / 0.6237 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.007699, allocations: 56.83 kB / 0.6238 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.007714, allocations: 7.938 kB / 0.6238 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.007875, allocations: 131.3 kB / 0.6239 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 8.81e-07/0.007876, allocations: 0 / 0.6239 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003703/0.008246, allocations: 249.5 kB / 0.6241 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.008286, allocations: 81.22 kB / 0.6242 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.00847, allocations: 259 kB / 0.6245 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.008488, allocations: 33.7 kB / 0.6245 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.008541, allocations: 120 kB / 0.6246 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.008582, allocations: 51.62 kB / 0.6247 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.008623, allocations: 37.7 kB / 0.6247 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.008704, allocations: 326.8 kB / 0.625 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.008777, allocations: 63.89 kB / 0.6251 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.008866, allocations: 108.2 kB / 0.6252 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.009024, allocations: 149.2 kB / 0.6253 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009026, allocations: 0 / 0.6253 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002306/0.009257, allocations: 213.4 kB / 0.6255 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.009269, allocations: 7.984 kB / 0.6255 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.009274, allocations: 0 / 0.6255 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.009286, allocations: 8.062 kB / 0.6255 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.009369, allocations: 27.98 kB / 0.6256 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.009376, allocations: 3.938 kB / 0.6256 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.009416, allocations: 7.953 kB / 0.6256 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.009424, allocations: 4 kB / 0.6256 GB, free: 5.781 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.009512, allocations: 141.8 kB / 0.6257 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.009534, allocations: 19.84 kB / 0.6257 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.00986, allocations: 290.8 kB / 0.626 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009862, allocations: 4 kB / 0.626 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.009868, allocations: 7.938 kB / 0.626 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.009872, allocations: 0 / 0.626 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.01003, allocations: 220.6 kB / 0.6262 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01004, allocations: 0 / 0.6262 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.01011, allocations: 35.92 kB / 0.6263 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01011, allocations: 3.938 kB / 0.6263 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.01012, allocations: 11.94 kB / 0.6263 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01013, allocations: 3.984 kB / 0.6263 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01013, allocations: 0 / 0.6263 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.01039, allocations: 276 kB / 0.6265 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.01041, allocations: 31.83 kB / 0.6266 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.01044, allocations: 7.938 kB / 0.6266 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.01047, allocations: 4 kB / 0.6266 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.01051, allocations: 19.97 kB / 0.6266 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.01053, allocations: 7.984 kB / 0.6266 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003173/0.01085, allocations: 200.2 kB / 0.6268 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01085, allocations: 0 / 0.6268 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000209/0.01106, allocations: 59.86 kB / 0.6269 GB, free: 4.387 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.0123, allocations: 1.256 MB / 0.6281 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01252, allocations: 155.9 kB / 0.6282 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01252, allocations: 0 / 0.6282 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.01262, allocations: 82.52 kB / 0.6283 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.0128, allocations: 38.59 kB / 0.6284 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.01448, allocations: 2.118 MB / 0.6304 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.01456, allocations: 128.1 kB / 0.6305 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.061e-05/0.01464, allocations: 49.44 kB / 0.6306 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.01473, allocations: 68.47 kB / 0.6307 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.01474, allocations: 0 / 0.6307 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.03523, allocations: 6.517 MB / 0.637 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.149, allocations: 3.375 kB / 0.637 GB, free: 10.23 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.069107944145799] Failed to read output from testmodel.py, exit status != 0: 7.248328189365566 7.257685965 7.250104692 Calling exit ...