Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.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: translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001143/0.001143, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7966/0.7966, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 72.08 kB / 0.582 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.4879/0.6162, allocations: 186.8 MB / 0.8428 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006918/0.6232, allocations: 4.558 MB / 0.8472 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008738/0.6241, allocations: 32.34 kB / 0.8472 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.6252, allocations: 423.6 kB / 0.8476 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.6285, allocations: 1.4 MB / 0.849 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.6303, allocations: 0.7528 MB / 0.8497 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.6326, allocations: 1.965 MB / 0.8517 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009337/0.6335, allocations: 0.6562 MB / 0.8523 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.6362, allocations: 1.116 MB / 0.8534 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/0.6372, allocations: 0.5826 MB / 0.854 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.6374, allocations: 69.41 kB / 0.854 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.6397, allocations: 1.388 MB / 0.8554 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.64, allocations: 288 kB / 0.8557 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.6406, allocations: 414.1 kB / 0.8561 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.6426, allocations: 1.483 MB / 0.8575 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6427, allocations: 2.406 kB / 0.8575 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6427, allocations: 0 / 0.8575 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.6427, allocations: 0 / 0.8575 GB, free: 11.59 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001742/0.6444, allocations: 1.097 MB / 0.8586 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6445, allocations: 7.5 kB / 0.8586 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.6458, allocations: 201.4 kB / 0.8588 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.6469, allocations: 0.6159 MB / 0.8594 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.6469, allocations: 37.31 kB / 0.8594 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.647, allocations: 56 kB / 0.8595 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.648, allocations: 0.6284 MB / 0.8601 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6481, allocations: 0 / 0.8601 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.6481, allocations: 20 kB / 0.8601 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.6482, allocations: 21.31 kB / 0.8601 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.6489, allocations: 0.493 MB / 0.8606 GB, free: 8.746 MB / 0.6231 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.002872/0.6518, allocations: 2.396 MB / 0.8629 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.6524, allocations: 360.4 kB / 0.8633 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.6527, allocations: 214.1 kB / 0.8635 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005474/0.6532, allocations: 303.2 kB / 0.8638 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.6533, allocations: 42.55 kB / 0.8638 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.6533, allocations: 4 kB / 0.8638 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.001082/0.6544, allocations: 0.5522 MB / 0.8644 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.6544, allocations: 55.41 kB / 0.8644 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.655, allocations: 0.495 MB / 0.8649 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.655, allocations: 33.7 kB / 0.8649 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.6553, allocations: 316.5 kB / 0.8652 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.6554, allocations: 138.1 kB / 0.8654 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.6555, allocations: 82.05 kB / 0.8654 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6557, allocations: 370.7 kB / 0.8658 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.6559, allocations: 150.5 kB / 0.8659 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.6562, allocations: 264.6 kB / 0.8662 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.6568, allocations: 410.2 kB / 0.8666 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6568, allocations: 2.438 kB / 0.8666 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007173/0.6575, allocations: 485.3 kB / 0.867 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6575, allocations: 8 kB / 0.8671 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6575, allocations: 0 / 0.8671 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6576, allocations: 4 kB / 0.8671 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.6581, allocations: 103.8 kB / 0.8672 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003755/0.6585, allocations: 0.5901 MB / 0.8677 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.659, allocations: 54.02 kB / 0.8678 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.6591, allocations: 20 kB / 0.8678 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000408/0.6595, allocations: 328.8 kB / 0.8681 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003133/0.6598, allocations: 261.9 kB / 0.8684 GB, free: 312 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005413/0.6604, allocations: 400.6 kB / 0.8687 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.6604, allocations: 0 / 0.8687 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006926/0.6611, allocations: 492.7 kB / 0.8692 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.6611, allocations: 12 kB / 0.8692 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6611, allocations: 4 kB / 0.8692 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.279e-06/0.6611, allocations: 4 kB / 0.8692 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.6615, allocations: 87.89 kB / 0.8693 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6615, allocations: 4 kB / 0.8693 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.6619, allocations: 31.73 kB / 0.8694 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.662, allocations: 16 kB / 0.8694 GB, free: 15.23 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.6621, allocations: 212.1 kB / 0.8696 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.6623, allocations: 59.28 kB / 0.8696 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/0.663, allocations: 445.9 kB / 0.8701 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006066/0.6636, allocations: 0.6571 MB / 0.8707 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6636, allocations: 0 / 0.8707 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.6639, allocations: 176.2 kB / 0.8709 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.6639, allocations: 8 kB / 0.8709 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.6643, allocations: 8 kB / 0.8709 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.6643, allocations: 23.97 kB / 0.8709 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009542/0.6653, allocations: 0.5011 MB / 0.8714 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008935/0.6662, allocations: 0.7756 MB / 0.8721 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002274/0.6664, allocations: 172 kB / 0.8723 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003798/0.6668, allocations: 362.8 kB / 0.8727 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of Backend: time 3.31e-07/0.6668, allocations: 0 / 0.8727 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.6688, allocations: 0.8146 MB / 0.8735 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of SimCode: time 0.002767/0.6716, allocations: 1.911 MB / 0.8753 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of Templates: time 0.02354/0.6952, allocations: 15.66 MB / 0.8906 GB, free: 9.465 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)