Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001741/0.00174, allocations: 194.5 kB / 16.14 MB, free: 6.691 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.076/1.076, allocations: 135.1 MB / 425.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 64.09 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2348, allocations: 80.93 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6827/0.9175, allocations: 168 MB / 0.7478 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007087/0.9246, allocations: 5.983 MB / 0.7537 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004164/0.9251, allocations: 11.78 kB / 0.7537 GB, free: 14.29 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.926, allocations: 153 kB / 0.7538 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.9263, allocations: 80.83 kB / 0.7539 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.9277, allocations: 498.9 kB / 0.7544 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.9283, allocations: 472.5 kB / 0.7548 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.9286, allocations: 134.2 kB / 0.7549 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.9289, allocations: 175.3 kB / 0.7551 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.9291, allocations: 152.2 kB / 0.7553 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.9292, allocations: 12.5 kB / 0.7553 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009525/0.9301, allocations: 0.5107 MB / 0.7558 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.9302, allocations: 63.06 kB / 0.7558 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.9304, allocations: 101.8 kB / 0.7559 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.9311, allocations: 464.8 kB / 0.7564 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.9311, allocations: 0 / 0.7564 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.654e-06/0.9311, allocations: 6.656 kB / 0.7564 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.9311, allocations: 0 / 0.7564 GB, free: 12.52 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006383/0.9317, allocations: 0.5231 MB / 0.7569 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9318, allocations: 10.62 kB / 0.7569 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.9321, allocations: 43.12 kB / 0.7569 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.9324, allocations: 255.1 kB / 0.7572 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.9325, allocations: 135.4 kB / 0.7573 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.9326, allocations: 27.94 kB / 0.7573 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.933, allocations: 290.8 kB / 0.7576 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.9331, allocations: 8 kB / 0.7576 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.9331, allocations: 7.938 kB / 0.7576 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.9331, allocations: 8 kB / 0.7576 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.9334, allocations: 156.6 kB / 0.7578 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.9348, allocations: 1.587 MB / 0.7593 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.9349, allocations: 169.1 kB / 0.7595 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.935, allocations: 80.14 kB / 0.7596 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.935, allocations: 79.28 kB / 0.7596 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.938e-05/0.9351, allocations: 109.8 kB / 0.7598 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9351, allocations: 4 kB / 0.7598 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.9352, allocations: 49.36 kB / 0.7598 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.9353, allocations: 126.7 kB / 0.7599 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.9356, allocations: 306.7 kB / 0.7602 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.9357, allocations: 25.7 kB / 0.7602 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.9358, allocations: 199.1 kB / 0.7604 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.9358, allocations: 4 kB / 0.7604 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.9359, allocations: 41.61 kB / 0.7605 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.936, allocations: 338.8 kB / 0.7608 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.9361, allocations: 35.98 kB / 0.7608 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.9363, allocations: 161.1 kB / 0.761 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.9365, allocations: 196.9 kB / 0.7612 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9365, allocations: 0.875 kB / 0.7612 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003965/0.9369, allocations: 217 kB / 0.7614 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9369, allocations: 12.56 kB / 0.7614 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.937, allocations: 8 kB / 0.7614 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.937, allocations: 8 kB / 0.7614 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.9371, allocations: 35.92 kB / 0.7614 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.9372, allocations: 4 kB / 0.7614 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.9373, allocations: 35.67 kB / 0.7615 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.9374, allocations: 16 kB / 0.7615 GB, free: 6.969 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000151/0.9375, allocations: 221 kB / 0.7617 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.9376, allocations: 128.6 kB / 0.7618 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.9377, allocations: 125.8 kB / 0.7619 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.592e-05/0.9378, allocations: 176.3 kB / 0.7621 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.211e-05/0.9379, allocations: 188.2 kB / 0.7623 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-05/0.9379, allocations: 180.2 kB / 0.7625 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.9383, allocations: 485.1 kB / 0.7629 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.512e-05/0.9383, allocations: 105.1 kB / 0.763 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.9384, allocations: 108.9 kB / 0.7631 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/0.9384, allocations: 188.1 kB / 0.7633 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.9385, allocations: 176.3 kB / 0.7635 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.375e-05/0.9386, allocations: 184.2 kB / 0.7637 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.797e-05/0.9387, allocations: 180.3 kB / 0.7638 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.9389, allocations: 323.6 kB / 0.7641 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.939, allocations: 209.7 kB / 0.7643 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.9391, allocations: 188.2 kB / 0.7645 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.9392, allocations: 105 kB / 0.7646 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.9393, allocations: 180.3 kB / 0.7648 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.9393, allocations: 104.9 kB / 0.7649 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002453/0.9396, allocations: 217.9 kB / 0.7651 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9396, allocations: 0 / 0.7651 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004143/0.94, allocations: 55.92 kB / 0.7652 GB, free: 2.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004867/0.9405, allocations: 203.8 kB / 0.7653 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.9407, allocations: 80.97 kB / 0.7654 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9408, allocations: 4.062 kB / 0.7654 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.9408, allocations: 0 / 0.7654 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.9414, allocations: 0.544 MB / 0.766 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007085/0.9421, allocations: 457.6 kB / 0.7664 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.9425, allocations: 0.7437 MB / 0.7671 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.9427, allocations: 33.11 kB / 0.7672 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.9428, allocations: 23.44 kB / 0.7672 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.9428, allocations: 0 / 0.7672 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of Templates: time 0.005547/0.9483, allocations: 1.758 MB / 0.7689 GB, free: 15.12 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)