Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.094/1.094, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8 kB / 0.507 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 82.3 MB / 0.5874 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6055/0.8206, allocations: 146.5 MB / 0.7304 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.8229, allocations: 0.9202 MB / 0.7313 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.8232, allocations: 4.312 kB / 0.7313 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.8238, allocations: 104.2 kB / 0.7314 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.8259, allocations: 462.7 kB / 0.7318 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.8267, allocations: 189.6 kB / 0.732 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009486/0.8277, allocations: 0.6211 MB / 0.7326 GB, free: 2.121 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.8281, allocations: 136.7 kB / 0.7328 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.8286, allocations: 215.8 kB / 0.733 GB, free: 1.996 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.8289, allocations: 160 kB / 0.7331 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.8289, allocations: 8.156 kB / 0.7331 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000914/0.8299, allocations: 290.2 kB / 0.7334 GB, free: 1.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.83, allocations: 80.23 kB / 0.7335 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.8301, allocations: 67.64 kB / 0.7335 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.8307, allocations: 293.5 kB / 0.7338 GB, free: 1.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.8307, allocations: 1.156 kB / 0.7338 GB, free: 1.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8307, allocations: 4 kB / 0.7338 GB, free: 1.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.8307, allocations: 0 / 0.7338 GB, free: 1.691 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001556/0.8323, allocations: 0.5522 MB / 0.7344 GB, free: 1.242 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.8323, allocations: 9.578 kB / 0.7344 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.8326, allocations: 55.05 kB / 0.7344 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.833, allocations: 268.2 kB / 0.7347 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.833, allocations: 22.88 kB / 0.7347 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.8331, allocations: 13.69 kB / 0.7347 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.8336, allocations: 245.8 kB / 0.735 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.8336, allocations: 3.984 kB / 0.735 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.8337, allocations: 5.438 kB / 0.735 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.8337, allocations: 15.02 kB / 0.735 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006403/0.8344, allocations: 265.9 kB / 0.7352 GB, free: 0.7812 MB / 0.545 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.001341/0.8357, allocations: 0.83 MB / 0.736 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.836, allocations: 150.7 kB / 0.7362 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.8363, allocations: 122.3 kB / 0.7363 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.8366, allocations: 190.9 kB / 0.7365 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.8366, allocations: 37.56 kB / 0.7365 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.8367, allocations: 3.938 kB / 0.7365 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0008925/0.8375, allocations: 312.8 kB / 0.7368 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.8376, allocations: 52.69 kB / 0.7369 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.8379, allocations: 241.3 kB / 0.7371 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.838, allocations: 27.02 kB / 0.7371 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.8381, allocations: 138.5 kB / 0.7373 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.8381, allocations: 50.64 kB / 0.7373 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.8382, allocations: 5.188 kB / 0.7373 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8383, allocations: 337.1 kB / 0.7376 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.8385, allocations: 70.41 kB / 0.7377 GB, free: 15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.8387, allocations: 113.8 kB / 0.7378 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.8389, allocations: 89.41 kB / 0.7379 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8389, allocations: 0 / 0.7379 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004705/0.8394, allocations: 229.8 kB / 0.7381 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8394, allocations: 5.281 kB / 0.7381 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.8395, allocations: 1.906 kB / 0.7381 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8395, allocations: 0 / 0.7381 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.8397, allocations: 33.44 kB / 0.7382 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8397, allocations: 1.594 kB / 0.7382 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.8399, allocations: 28.73 kB / 0.7382 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.8399, allocations: 8.781 kB / 0.7382 GB, free: 14.81 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.8401, allocations: 146.8 kB / 0.7383 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.8401, allocations: 25.19 kB / 0.7384 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.8402, allocations: 33.16 kB / 0.7384 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8402, allocations: 1.25 kB / 0.7384 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8402, allocations: 0 / 0.7384 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8402, allocations: 5.438 kB / 0.7384 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.8413, allocations: 0.6865 MB / 0.7391 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8413, allocations: 1.375 kB / 0.7391 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.8415, allocations: 35.88 kB / 0.7391 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.8415, allocations: 2.75 kB / 0.7391 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.8415, allocations: 9.469 kB / 0.7391 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.8415, allocations: 6.703 kB / 0.7391 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8415, allocations: 5.594 kB / 0.7391 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.842, allocations: 359.7 kB / 0.7395 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.8422, allocations: 113.7 kB / 0.7396 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.8422, allocations: 2.75 kB / 0.7396 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.8424, allocations: 24.06 kB / 0.7396 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.8424, allocations: 25.58 kB / 0.7396 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.8425, allocations: 8.078 kB / 0.7396 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001831/0.8427, allocations: 177.6 kB / 0.7398 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8427, allocations: 1.344 kB / 0.7398 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003967/0.8431, allocations: 60.25 kB / 0.7399 GB, free: 13.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004145/0.8435, allocations: 150.1 kB / 0.74 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.844, allocations: 179.1 kB / 0.7402 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.844, allocations: 0.9375 kB / 0.7402 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.8442, allocations: 101.8 kB / 0.7403 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007494/0.845, allocations: 118.2 kB / 0.7404 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.8458, allocations: 0.4966 MB / 0.7409 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.8461, allocations: 0.7624 MB / 0.7416 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.8463, allocations: 64.34 kB / 0.7417 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.8464, allocations: 21.19 kB / 0.7417 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.8464, allocations: 0 / 0.7417 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.009324/0.8557, allocations: 4.064 MB / 0.7457 GB, free: 10.58 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)