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.001262/0.001262, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001437/0.001437, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.797 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.8294/0.8294, allocations: 134 MB / 446.4 MB, free: 9.898 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.003301/0.003301, allocations: 66.23 kB / 0.6185 GB, free: 6.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2034, allocations: 85.92 MB / 0.7024 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5896/0.7931, allocations: 172.6 MB / 0.871 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.8116, allocations: 13.15 MB / 0.8838 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.8129, allocations: 47.56 kB / 0.8839 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.8145, allocations: 0.493 MB / 0.8844 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.8196, allocations: 1.937 MB / 0.8862 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.8223, allocations: 0.8838 MB / 0.8871 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003695/0.8259, allocations: 2.612 MB / 0.8897 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.8272, allocations: 0.8015 MB / 0.8904 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004522/0.8318, allocations: 1.671 MB / 0.8921 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.8337, allocations: 0.9545 MB / 0.893 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.8338, allocations: 112 kB / 0.8931 GB, free: 15.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.836, allocations: 0.9312 MB / 0.894 GB, free: 14.8 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00057/0.8365, allocations: 0.5064 MB / 0.8945 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007107/0.8372, allocations: 0.529 MB / 0.895 GB, free: 13.76 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.8401, allocations: 1.911 MB / 0.8969 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8401, allocations: 0 / 0.8969 GB, free: 11.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8402, allocations: 0 / 0.8969 GB, free: 11.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.8402, allocations: 0 / 0.8969 GB, free: 11.84 MB / 0.67 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.002372/0.8425, allocations: 1.413 MB / 0.8983 GB, free: 10.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.8426, allocations: 12.03 kB / 0.8983 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.8428, allocations: 147.6 kB / 0.8984 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.8441, allocations: 259 kB / 0.8987 GB, free: 9.977 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.8457, allocations: 0.7284 MB / 0.8994 GB, free: 9.223 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.8457, allocations: 70 kB / 0.8995 GB, free: 9.152 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.8459, allocations: 96 kB / 0.8996 GB, free: 9.059 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8478, allocations: 1.294 MB / 0.9008 GB, free: 7.664 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.8478, allocations: 4 kB / 0.9008 GB, free: 7.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.8479, allocations: 36 kB / 0.9009 GB, free: 7.625 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.8479, allocations: 37.98 kB / 0.9009 GB, free: 7.586 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.8494, allocations: 0.9054 MB / 0.9018 GB, free: 6.684 MB / 0.67 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.005449/0.8549, allocations: 4.123 MB / 0.9058 GB, free: 2.426 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008124/0.8557, allocations: 0.4934 MB / 0.9063 GB, free: 1.926 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.8561, allocations: 298.5 kB / 0.9066 GB, free: 1.633 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/0.8566, allocations: 84.34 kB / 0.9066 GB, free: 1.551 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.8566, allocations: 42.94 kB / 0.9067 GB, free: 1.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/0.8566, allocations: 0 / 0.9067 GB, free: 1.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001591/0.8582, allocations: 0.7953 MB / 0.9075 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.8583, allocations: 63.78 kB / 0.9075 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009919/0.8593, allocations: 0.7625 MB / 0.9083 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.8593, allocations: 41.69 kB / 0.9083 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.8598, allocations: 0.5195 MB / 0.9088 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.8599, allocations: 186.4 kB / 0.909 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.8602, allocations: 150.5 kB / 0.9091 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8603, allocations: 330 kB / 0.9095 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.8607, allocations: 249.9 kB / 0.9097 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008272/0.8616, allocations: 0.8578 MB / 0.9105 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.8626, allocations: 0.7995 MB / 0.9113 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.8626, allocations: 4 kB / 0.9113 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001345/0.864, allocations: 0.8472 MB / 0.9121 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.864, allocations: 8 kB / 0.9121 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.864, allocations: 8 kB / 0.9122 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.864, allocations: 16.06 kB / 0.9122 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.8646, allocations: 160.9 kB / 0.9123 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.8647, allocations: 19.88 kB / 0.9123 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.8654, allocations: 91.33 kB / 0.9124 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.8654, allocations: 35.98 kB / 0.9125 GB, free: 11.2 MB / 0.6856 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.0004762/0.8659, allocations: 321.5 kB / 0.9128 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.866, allocations: 91.48 kB / 0.9129 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.8671, allocations: 0.6218 MB / 0.9135 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8671, allocations: 7.984 kB / 0.9135 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8671, allocations: 4.812 kB / 0.9135 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008096/0.8679, allocations: 0.5172 MB / 0.914 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.8705, allocations: 1.53 MB / 0.9155 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.8705, allocations: 8.031 kB / 0.9155 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.871, allocations: 111.9 kB / 0.9156 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.871, allocations: 4 kB / 0.9156 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.8711, allocations: 16 kB / 0.9156 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.8711, allocations: 7.938 kB / 0.9156 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8711, allocations: 4 kB / 0.9156 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.8726, allocations: 1.062 MB / 0.9167 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.873, allocations: 151.3 kB / 0.9168 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.873, allocations: 16 kB / 0.9168 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.8735, allocations: 21.67 kB / 0.9168 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.8736, allocations: 35.89 kB / 0.9169 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.8736, allocations: 19.98 kB / 0.9169 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006597/0.8743, allocations: 0.5107 MB / 0.9174 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8743, allocations: 3.938 kB / 0.9174 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008574/0.8751, allocations: 299.4 kB / 0.9177 GB, free: 5.723 MB / 0.6856 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.00211/0.8772, allocations: 1.694 MB / 0.9193 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.8783, allocations: 0.5913 MB / 0.9199 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8783, allocations: 0 / 0.9199 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.8787, allocations: 257.1 kB / 0.9202 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.8806, allocations: 449.5 kB / 0.9206 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009987/0.8905, allocations: 7.208 MB / 0.9276 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.8911, allocations: 0.5199 MB / 0.9281 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008428/0.892, allocations: 267.1 kB / 0.9284 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.8925, allocations: 359.3 kB / 0.9287 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of SimCode: time 9.12e-07/0.8925, allocations: 0 / 0.9287 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06342/0.9559, allocations: 25.49 MB / 0.9536 GB, free: 1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.74, allocations: 3.859 kB / 0.9536 GB, free: 0.9961 MB / 0.7169 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.34842553222552] Failed to read output from testmodel.py, exit status != 0: 12.858417219016701 12.873726265 12.030260105 Calling exit ...