Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.001855/0.001855, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002337/0.002337, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.433/1.433, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.843/0.843, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 69.73 kB / 0.6186 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 85.9 MB / 0.7025 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6162/0.7887, allocations: 199.1 MB / 0.8969 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.8089, allocations: 14.49 MB / 0.9111 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.8102, allocations: 51.56 kB / 0.9111 GB, free: 0.793 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.8119, allocations: 0.5124 MB / 0.9116 GB, free: 284 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.8171, allocations: 1.999 MB / 0.9136 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.8198, allocations: 0.8963 MB / 0.9144 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003892/0.8237, allocations: 2.636 MB / 0.917 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.8253, allocations: 0.8068 MB / 0.9178 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/0.83, allocations: 1.686 MB / 0.9194 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.8321, allocations: 0.9886 MB / 0.9204 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.8325, allocations: 104 kB / 0.9205 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.8354, allocations: 1.196 MB / 0.9217 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007665/0.8362, allocations: 0.5025 MB / 0.9222 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.8376, allocations: 0.6338 MB / 0.9228 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.8411, allocations: 1.93 MB / 0.9247 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8411, allocations: 0 / 0.9247 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8411, allocations: 0 / 0.9247 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.8411, allocations: 0 / 0.9247 GB, free: 2.883 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002339/0.8434, allocations: 1.411 MB / 0.9261 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8435, allocations: 11.97 kB / 0.9261 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.8436, allocations: 143.6 kB / 0.9262 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.845, allocations: 266.6 kB / 0.9265 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.8464, allocations: 0.7284 MB / 0.9272 GB, free: 268 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.654e-05/0.8465, allocations: 66 kB / 0.9272 GB, free: 200 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.8467, allocations: 99.98 kB / 0.9273 GB, free: 100 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.8484, allocations: 1.169 MB / 0.9285 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.8485, allocations: 7.938 kB / 0.9285 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.8486, allocations: 36 kB / 0.9285 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.8486, allocations: 37.98 kB / 0.9285 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.8501, allocations: 0.8976 MB / 0.9294 GB, free: 13.88 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006319/0.8564, allocations: 5.681 MB / 0.935 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.8572, allocations: 0.5006 MB / 0.9355 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.8576, allocations: 294.6 kB / 0.9357 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.8581, allocations: 80.36 kB / 0.9358 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.8581, allocations: 39 kB / 0.9359 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.8581, allocations: 0 / 0.9359 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001547/0.8596, allocations: 0.8069 MB / 0.9366 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.8597, allocations: 63.77 kB / 0.9367 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009431/0.8606, allocations: 0.7509 MB / 0.9374 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.8607, allocations: 37.7 kB / 0.9375 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.8611, allocations: 0.5194 MB / 0.938 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.8613, allocations: 186.4 kB / 0.9382 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.8616, allocations: 150.6 kB / 0.9383 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8617, allocations: 334 kB / 0.9386 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.8621, allocations: 245.8 kB / 0.9389 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.8629, allocations: 0.5605 MB / 0.9394 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.864, allocations: 0.7917 MB / 0.9402 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.864, allocations: 8 kB / 0.9402 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001369/0.8654, allocations: 0.8389 MB / 0.941 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.8654, allocations: 8 kB / 0.941 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8654, allocations: 8 kB / 0.941 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.8654, allocations: 15.98 kB / 0.941 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.866, allocations: 156.4 kB / 0.9412 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.866, allocations: 19.88 kB / 0.9412 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/0.8667, allocations: 103.3 kB / 0.9413 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.8668, allocations: 32 kB / 0.9413 GB, free: 0.9023 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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 0.0004718/0.8672, allocations: 329.5 kB / 0.9416 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.8674, allocations: 91.38 kB / 0.9417 GB, free: 492 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.8685, allocations: 0.6218 MB / 0.9423 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.8685, allocations: 8.031 kB / 0.9423 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.8685, allocations: 8.812 kB / 0.9424 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007731/0.8692, allocations: 0.5095 MB / 0.9429 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.8719, allocations: 1.627 MB / 0.9444 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.8719, allocations: 4 kB / 0.9444 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.8724, allocations: 115.8 kB / 0.9446 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.8725, allocations: 4 kB / 0.9446 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.8725, allocations: 21.05 kB / 0.9446 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8725, allocations: 0 / 0.9446 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8725, allocations: 4 kB / 0.9446 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.874, allocations: 1.058 MB / 0.9456 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.8744, allocations: 155.3 kB / 0.9458 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.8745, allocations: 15.98 kB / 0.9458 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.8749, allocations: 12 kB / 0.9458 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.875, allocations: 39.81 kB / 0.9458 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.875, allocations: 20.8 kB / 0.9458 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000697/0.8757, allocations: 0.5146 MB / 0.9464 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8757, allocations: 0 / 0.9464 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008968/0.8766, allocations: 299.5 kB / 0.9466 GB, free: 11.33 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.002124/0.8787, allocations: 1.7 MB / 0.9483 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.8797, allocations: 0.5845 MB / 0.9489 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.8798, allocations: 0.6875 kB / 0.9489 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.8801, allocations: 259.5 kB / 0.9491 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.882, allocations: 453.5 kB / 0.9495 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.893, allocations: 7.213 MB / 0.9566 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/0.894, allocations: 1.122 MB / 0.9577 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008026/0.8948, allocations: 267 kB / 0.9579 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.8953, allocations: 359.3 kB / 0.9583 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8953, allocations: 0 / 0.9583 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0889/0.9842, allocations: 23.86 MB / 0.9816 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.29, allocations: 6.953 kB / 0.9816 GB, free: 7.465 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.871637971838936] Failed to read output from testmodel.py, exit status != 0: 13.412416332168505 13.430161758 12.585767526 Calling exit ...