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.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.001436/0.001436, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001428/0.001428, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.379/1.379, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.8339/0.8339, allocations: 134 MB / 436.6 MB, free: 1.242 MB / 334.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.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(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: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 68.5 kB / 0.6051 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1663, allocations: 84.66 MB / 0.6878 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5552/0.7215, allocations: 195.8 MB / 0.879 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.7407, allocations: 14.38 MB / 0.893 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.742, allocations: 39.75 kB / 0.8931 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.7436, allocations: 0.5124 MB / 0.8936 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004877/0.7484, allocations: 1.96 MB / 0.8955 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.7509, allocations: 0.8762 MB / 0.8964 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003734/0.7547, allocations: 2.576 MB / 0.8989 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.7561, allocations: 0.9258 MB / 0.8998 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.7607, allocations: 1.65 MB / 0.9014 GB, free: 4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.7626, allocations: 0.9847 MB / 0.9023 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.7628, allocations: 108 kB / 0.9025 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.7653, allocations: 1.161 MB / 0.9036 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006104/0.7659, allocations: 0.5141 MB / 0.9041 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008598/0.7668, allocations: 0.63 MB / 0.9047 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.7701, allocations: 1.935 MB / 0.9066 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7702, allocations: 0 / 0.9066 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7702, allocations: 0 / 0.9066 GB, free: 14.65 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.7702, allocations: 0 / 0.9066 GB, free: 14.65 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.00277/0.773, allocations: 1.482 MB / 0.908 GB, free: 13.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.773, allocations: 8.031 kB / 0.908 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.7732, allocations: 147.6 kB / 0.9082 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.7745, allocations: 259 kB / 0.9084 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.7762, allocations: 0.8044 MB / 0.9092 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.7763, allocations: 71.12 kB / 0.9093 GB, free: 11.78 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.7764, allocations: 88 kB / 0.9094 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.7783, allocations: 1.173 MB / 0.9105 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.7783, allocations: 7.938 kB / 0.9105 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.7784, allocations: 36 kB / 0.9106 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.7784, allocations: 38 kB / 0.9106 GB, free: 10.37 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.7799, allocations: 0.9015 MB / 0.9115 GB, free: 9.469 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.006999/0.7869, allocations: 5.74 MB / 0.9171 GB, free: 3.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/0.7877, allocations: 0.5139 MB / 0.9176 GB, free: 2.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.7882, allocations: 294 kB / 0.9179 GB, free: 2.465 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.7888, allocations: 307.8 kB / 0.9182 GB, free: 2.109 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.7889, allocations: 46.98 kB / 0.9182 GB, free: 2.055 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.645e-06/0.7889, allocations: 0 / 0.9182 GB, free: 2.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001698/0.7906, allocations: 0.803 MB / 0.919 GB, free: 1.242 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.7906, allocations: 59.78 kB / 0.919 GB, free: 1.172 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.7917, allocations: 0.751 MB / 0.9198 GB, free: 424 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.7918, allocations: 37.7 kB / 0.9198 GB, free: 380 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.7922, allocations: 0.5194 MB / 0.9203 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.7924, allocations: 186.4 kB / 0.9205 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.7926, allocations: 142.6 kB / 0.9206 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7928, allocations: 337.9 kB / 0.921 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.7932, allocations: 249.9 kB / 0.9212 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/0.7939, allocations: 0.5527 MB / 0.9217 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.795, allocations: 0.7995 MB / 0.9225 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.795, allocations: 4 kB / 0.9225 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001443/0.7964, allocations: 0.8502 MB / 0.9233 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.7964, allocations: 11.31 kB / 0.9234 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.7964, allocations: 8 kB / 0.9234 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.7965, allocations: 12 kB / 0.9234 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.7971, allocations: 155.8 kB / 0.9235 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.7971, allocations: 23.86 kB / 0.9235 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.7978, allocations: 91.33 kB / 0.9236 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.7979, allocations: 36 kB / 0.9237 GB, free: 12.14 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.0004922/0.7984, allocations: 329.4 kB / 0.924 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.7986, allocations: 95.44 kB / 0.9241 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.7996, allocations: 0.614 MB / 0.9247 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.7996, allocations: 8 kB / 0.9247 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.7996, allocations: 3.938 kB / 0.9247 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007814/0.8004, allocations: 0.5134 MB / 0.9252 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.8032, allocations: 1.667 MB / 0.9268 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.8032, allocations: 4 kB / 0.9268 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.8037, allocations: 111.9 kB / 0.9269 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.8037, allocations: 4 kB / 0.9269 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.8038, allocations: 12 kB / 0.9269 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.8038, allocations: 4.219 kB / 0.9269 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8038, allocations: 8.5 kB / 0.927 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.8053, allocations: 1.054 MB / 0.928 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.8058, allocations: 224.5 kB / 0.9282 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.806, allocations: 19.94 kB / 0.9282 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.8065, allocations: 16.86 kB / 0.9282 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.8066, allocations: 39.97 kB / 0.9283 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.8066, allocations: 20 kB / 0.9283 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007873/0.8074, allocations: 0.5146 MB / 0.9288 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8074, allocations: 0 / 0.9288 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001084/0.8085, allocations: 299.4 kB / 0.9291 GB, free: 6.445 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.002295/0.8108, allocations: 1.715 MB / 0.9308 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.8119, allocations: 0.5877 MB / 0.9313 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8119, allocations: 0 / 0.9313 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.8123, allocations: 255.6 kB / 0.9316 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.8144, allocations: 447.3 kB / 0.932 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.8258, allocations: 7.216 MB / 0.939 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/0.8268, allocations: 1.122 MB / 0.9401 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009102/0.8277, allocations: 275 kB / 0.9404 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.8283, allocations: 355.3 kB / 0.9407 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/0.8283, allocations: 0 / 0.9407 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/0.8896, allocations: 23.23 MB / 0.9634 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.316/10.21, allocations: 12.5 kB / 0.9634 GB, free: 3.168 MB / 0.7169 GB " [Timeout remaining time 650] (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: 13.675586257129908] Failed to read output from testmodel.py, exit status != 0: 10.287461971864104 10.301170929 9.528121512 Calling exit ...