Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006609/0.006609, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.001273/0.001273, allocations: 197.7 kB / 16.67 MB, free: 5.965 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7428/0.7428, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.33 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.21 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5692/0.7394, allocations: 161.3 MB / 0.8172 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.7411, allocations: 0.9581 MB / 0.8181 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.7413, allocations: 11.5 kB / 0.8182 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.7419, allocations: 160.5 kB / 0.8183 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.7435, allocations: 0.6341 MB / 0.8189 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.7441, allocations: 220.1 kB / 0.8191 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.7448, allocations: 0.5205 MB / 0.8196 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.7451, allocations: 176.4 kB / 0.8198 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.7455, allocations: 233.5 kB / 0.82 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.7458, allocations: 156.3 kB / 0.8202 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.7458, allocations: 14.41 kB / 0.8202 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.7469, allocations: 0.5445 MB / 0.8207 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.7471, allocations: 84.97 kB / 0.8208 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.7472, allocations: 117.8 kB / 0.8209 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.7482, allocations: 499.5 kB / 0.8214 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7482, allocations: 2.297 kB / 0.8214 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7482, allocations: 0.5312 kB / 0.8214 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.7482, allocations: 0 / 0.8214 GB, free: 3.57 MB / 0.6387 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.001417/0.7496, allocations: 0.6079 MB / 0.822 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7497, allocations: 9.156 kB / 0.822 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.75, allocations: 48.53 kB / 0.8221 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.7504, allocations: 287.8 kB / 0.8223 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.7504, allocations: 15.52 kB / 0.8223 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.7505, allocations: 19.75 kB / 0.8224 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.7511, allocations: 240.3 kB / 0.8226 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.7511, allocations: 0.5625 kB / 0.8226 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.7511, allocations: 9.219 kB / 0.8226 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.7512, allocations: 9.125 kB / 0.8226 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.7518, allocations: 249.3 kB / 0.8228 GB, free: 2.859 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.001246/0.7531, allocations: 0.8414 MB / 0.8237 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.7534, allocations: 148.6 kB / 0.8238 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.7536, allocations: 112.7 kB / 0.8239 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.7538, allocations: 187.4 kB / 0.8241 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.7538, allocations: 37.42 kB / 0.8241 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.7538, allocations: 0 / 0.8241 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0007986/0.7547, allocations: 305.3 kB / 0.8244 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.7547, allocations: 59.8 kB / 0.8245 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.7549, allocations: 241.9 kB / 0.8247 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.7549, allocations: 31.36 kB / 0.8247 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.755, allocations: 134.7 kB / 0.8249 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.7551, allocations: 49.3 kB / 0.8249 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.7551, allocations: 37 kB / 0.825 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.7552, allocations: 335.2 kB / 0.8253 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.7554, allocations: 66.09 kB / 0.8253 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.7556, allocations: 105 kB / 0.8254 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.7559, allocations: 167.6 kB / 0.8256 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7559, allocations: 5 kB / 0.8256 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004172/0.7564, allocations: 219.3 kB / 0.8258 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7564, allocations: 4.656 kB / 0.8258 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7564, allocations: 2.906 kB / 0.8258 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7564, allocations: 1.156 kB / 0.8258 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.7566, allocations: 32.91 kB / 0.8258 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7566, allocations: 6 kB / 0.8259 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.7568, allocations: 19.81 kB / 0.8259 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.7568, allocations: 11.44 kB / 0.8259 GB, free: 1.344 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.7569, allocations: 143.8 kB / 0.826 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.757, allocations: 23.17 kB / 0.826 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.757, allocations: 30.66 kB / 0.8261 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7571, allocations: 2.578 kB / 0.8261 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7571, allocations: 6.641 kB / 0.8261 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7571, allocations: 0.7031 kB / 0.8261 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.7582, allocations: 0.6716 MB / 0.8267 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.7582, allocations: 4.234 kB / 0.8267 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.7583, allocations: 35.19 kB / 0.8268 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7583, allocations: 3.438 kB / 0.8268 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7584, allocations: 3.391 kB / 0.8268 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.7584, allocations: 3.844 kB / 0.8268 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7584, allocations: 7.594 kB / 0.8268 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.7588, allocations: 367.2 kB / 0.8271 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.7589, allocations: 115 kB / 0.8273 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.759, allocations: 7.969 kB / 0.8273 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.7592, allocations: 9.812 kB / 0.8273 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.7592, allocations: 16.84 kB / 0.8273 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.7592, allocations: 6.609 kB / 0.8273 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001695/0.7594, allocations: 179.8 kB / 0.8275 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7594, allocations: 2.172 kB / 0.8275 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003743/0.7598, allocations: 64.3 kB / 0.8275 GB, free: 16.46 MB / 0.6544 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 (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.0003616/0.7602, allocations: 151.7 kB / 0.8277 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.7606, allocations: 173.9 kB / 0.8278 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7606, allocations: 0.6875 kB / 0.8278 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.7608, allocations: 97.2 kB / 0.8279 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.7616, allocations: 122.5 kB / 0.828 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.7622, allocations: 448.1 kB / 0.8285 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.7625, allocations: 0.7527 MB / 0.8292 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.7627, allocations: 64.44 kB / 0.8293 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.7628, allocations: 22.25 kB / 0.8293 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.7628, allocations: 0 / 0.8293 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.008865/0.7717, allocations: 4.453 MB / 0.8336 GB, free: 15.29 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)