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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009877/0.0009877, allocations: 190.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6733/0.6733, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 63.97 kB / 0.5014 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2942, allocations: 80.2 MB / 0.5797 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1619/0.4561, allocations: 192.6 MB / 0.7677 GB, free: 500 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01347/0.4696, allocations: 14.21 MB / 0.7816 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007918/0.4705, allocations: 31.81 kB / 0.7816 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.4716, allocations: 433.7 kB / 0.7821 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.475, allocations: 1.77 MB / 0.7838 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.4767, allocations: 0.7959 MB / 0.7846 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.479, allocations: 2.569 MB / 0.7871 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.48, allocations: 1.068 MB / 0.7881 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.4831, allocations: 1.593 MB / 0.7897 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.4841, allocations: 0.9909 MB / 0.7906 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.4843, allocations: 104 kB / 0.7907 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.4857, allocations: 1.153 MB / 0.7919 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003569/0.4861, allocations: 0.491 MB / 0.7923 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.4866, allocations: 0.6455 MB / 0.793 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.4882, allocations: 1.967 MB / 0.7949 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4882, allocations: 4 kB / 0.7949 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4882, allocations: 0 / 0.7949 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.4882, allocations: 0 / 0.7949 GB, free: 4.594 MB / 0.6231 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.001675/0.4899, allocations: 1.446 MB / 0.7963 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.4899, allocations: 12.03 kB / 0.7963 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.4901, allocations: 143.6 kB / 0.7965 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.4912, allocations: 258.3 kB / 0.7967 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009289/0.4922, allocations: 0.757 MB / 0.7974 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.4922, allocations: 66 kB / 0.7975 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.4923, allocations: 96 kB / 0.7976 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.4938, allocations: 1.173 MB / 0.7987 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.4938, allocations: 7.938 kB / 0.7988 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.4939, allocations: 36 kB / 0.7988 GB, free: 444 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.4939, allocations: 34 kB / 0.7988 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.495, allocations: 0.8938 MB / 0.7997 GB, free: 15.5 MB / 0.6387 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.004171/0.4992, allocations: 5.731 MB / 0.8053 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.4999, allocations: 0.528 MB / 0.8058 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.5002, allocations: 310.6 kB / 0.8061 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.5008, allocations: 315.7 kB / 0.8064 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.5008, allocations: 43 kB / 0.8064 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 1.583e-06/0.5008, allocations: 0 / 0.8064 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001202/0.502, allocations: 0.7987 MB / 0.8072 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.502, allocations: 67.77 kB / 0.8073 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.5028, allocations: 0.747 MB / 0.808 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.5028, allocations: 37.7 kB / 0.8081 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.5031, allocations: 0.5065 MB / 0.8085 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.5032, allocations: 181.4 kB / 0.8087 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.5034, allocations: 146.5 kB / 0.8089 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.5035, allocations: 334 kB / 0.8092 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.5038, allocations: 249.8 kB / 0.8094 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.5043, allocations: 0.5605 MB / 0.81 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.5051, allocations: 0.7956 MB / 0.8107 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.5051, allocations: 4 kB / 0.8107 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001011/0.5061, allocations: 0.8427 MB / 0.8116 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5062, allocations: 10.03 kB / 0.8116 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5062, allocations: 8 kB / 0.8116 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5062, allocations: 15.98 kB / 0.8116 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.5067, allocations: 159.7 kB / 0.8118 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5067, allocations: 15.94 kB / 0.8118 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.5074, allocations: 139.2 kB / 0.8119 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.5075, allocations: 32 kB / 0.8119 GB, free: 2.133 MB / 0.6387 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.0003066/0.5078, allocations: 335 kB / 0.8123 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5079, allocations: 82.97 kB / 0.8123 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.5087, allocations: 0.6102 MB / 0.8129 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5087, allocations: 11.88 kB / 0.8129 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5087, allocations: 4 kB / 0.8129 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005797/0.5093, allocations: 0.5134 MB / 0.8134 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1926/0.7019, allocations: 1.657 MB / 0.8151 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.702, allocations: 1.531 kB / 0.8151 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.7025, allocations: 115 kB / 0.8152 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.7025, allocations: 4.344 kB / 0.8152 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.7026, allocations: 13.05 kB / 0.8152 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.7026, allocations: 4.328 kB / 0.8152 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7026, allocations: 1.812 kB / 0.8152 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.7038, allocations: 1.054 MB / 0.8162 GB, free: 221 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.7042, allocations: 226.6 kB / 0.8164 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.7043, allocations: 11.55 kB / 0.8165 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.7048, allocations: 70.31 kB / 0.8165 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.7049, allocations: 37.05 kB / 0.8166 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.705, allocations: 19.75 kB / 0.8166 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005838/0.7055, allocations: 0.5094 MB / 0.8171 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.7056, allocations: 0 / 0.8171 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007987/0.7064, allocations: 297 kB / 0.8174 GB, free: 220.6 MB / 0.6387 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.001567/0.7079, allocations: 1.703 MB / 0.819 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.709, allocations: 0.708 MB / 0.8197 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.709, allocations: 0 / 0.8197 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.7093, allocations: 284.7 kB / 0.82 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.711, allocations: 448.9 kB / 0.8204 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/0.7191, allocations: 7.829 MB / 0.8281 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.7196, allocations: 1.12 MB / 0.8291 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007594/0.7204, allocations: 263.9 kB / 0.8294 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.7208, allocations: 358 kB / 0.8297 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.7208, allocations: 0 / 0.8297 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.868/4.588, allocations: 22.75 MB / 0.852 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.02481/4.613, allocations: 242.7 kB / 0.8522 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.623/10.24, allocations: 0 / 0.8522 GB, free: 199.4 MB / 0.6387 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)