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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",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.007409/0.007409, allocations: 99.52 kB / 15.73 MB, free: 6.02 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.001826/0.001826, allocations: 192.4 kB / 16.67 MB, free: 5.938 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8007/0.8007, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 59.95 kB / 0.5809 GB, free: 1.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1661, allocations: 80.21 MB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5779/0.7441, allocations: 161.3 MB / 0.8167 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.7461, allocations: 0.9593 MB / 0.8177 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.7466, allocations: 8.938 kB / 0.8177 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.7473, allocations: 158.5 kB / 0.8178 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.7491, allocations: 0.6404 MB / 0.8184 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.7499, allocations: 220.5 kB / 0.8187 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008852/0.7508, allocations: 0.5183 MB / 0.8192 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.7512, allocations: 176.3 kB / 0.8193 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.7519, allocations: 231.8 kB / 0.8196 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.7522, allocations: 160.5 kB / 0.8197 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.7523, allocations: 14.38 kB / 0.8197 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.7534, allocations: 0.5431 MB / 0.8203 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.7536, allocations: 80.81 kB / 0.8203 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.7538, allocations: 115.8 kB / 0.8204 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009464/0.7547, allocations: 0.4891 MB / 0.8209 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7547, allocations: 0.5625 kB / 0.8209 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7547, allocations: 1.688 kB / 0.8209 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.7547, allocations: 0 / 0.8209 GB, free: 2.836 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.001362/0.7561, allocations: 0.6102 MB / 0.8215 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.7562, allocations: 10.48 kB / 0.8215 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.7562, allocations: 51.12 kB / 0.8216 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.7565, allocations: 49.67 kB / 0.8216 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.7569, allocations: 286.5 kB / 0.8219 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.7569, allocations: 16.47 kB / 0.8219 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.757, allocations: 20.17 kB / 0.8219 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.7575, allocations: 247.8 kB / 0.8222 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.7576, allocations: 1 kB / 0.8222 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.7576, allocations: 5.797 kB / 0.8222 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.7576, allocations: 13.7 kB / 0.8222 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.7582, allocations: 249.2 kB / 0.8224 GB, free: 2.082 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.001087/0.7593, allocations: 0.8345 MB / 0.8232 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.7596, allocations: 144.5 kB / 0.8234 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.7598, allocations: 114.3 kB / 0.8235 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.7601, allocations: 188.5 kB / 0.8237 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.7601, allocations: 33.23 kB / 0.8237 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.7601, allocations: 5.25 kB / 0.8237 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0007947/0.7609, allocations: 301 kB / 0.824 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.7609, allocations: 59.77 kB / 0.824 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.7613, allocations: 245.8 kB / 0.8243 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.7613, allocations: 26.61 kB / 0.8243 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.7614, allocations: 138.5 kB / 0.8244 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.7615, allocations: 53.39 kB / 0.8245 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.7616, allocations: 34.56 kB / 0.8245 GB, free: 16.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7617, allocations: 332.1 kB / 0.8248 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.7619, allocations: 67.97 kB / 0.8249 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.7621, allocations: 103.2 kB / 0.825 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.7625, allocations: 169.4 kB / 0.8252 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.7625, allocations: 1.688 kB / 0.8252 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000449/0.7629, allocations: 218.7 kB / 0.8254 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.763, allocations: 8.375 kB / 0.8254 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.763, allocations: 0 / 0.8254 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.763, allocations: 2.312 kB / 0.8254 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.7632, allocations: 37.23 kB / 0.8254 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.7632, allocations: 0.5625 kB / 0.8254 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.7634, allocations: 28.28 kB / 0.8254 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.7634, allocations: 5.922 kB / 0.8255 GB, free: 16.57 MB / 0.6544 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.000148/0.7636, allocations: 146.4 kB / 0.8256 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.7636, allocations: 23.27 kB / 0.8256 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.7637, allocations: 31.8 kB / 0.8256 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7637, allocations: 2.125 kB / 0.8256 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.7637, allocations: 1.656 kB / 0.8256 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7637, allocations: 4.594 kB / 0.8257 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.7648, allocations: 0.6768 MB / 0.8263 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7648, allocations: 1.156 kB / 0.8263 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.7649, allocations: 33.69 kB / 0.8263 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.765, allocations: 7.031 kB / 0.8264 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.765, allocations: 5.266 kB / 0.8264 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.765, allocations: 3.203 kB / 0.8264 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.765, allocations: 3.375 kB / 0.8264 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.7655, allocations: 360.2 kB / 0.8267 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.7656, allocations: 116 kB / 0.8268 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.7657, allocations: 2.594 kB / 0.8268 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.7658, allocations: 14.08 kB / 0.8268 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.7659, allocations: 13.12 kB / 0.8268 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.7659, allocations: 9.453 kB / 0.8269 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001779/0.7661, allocations: 181.4 kB / 0.827 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7661, allocations: 0 / 0.827 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003589/0.7665, allocations: 69.03 kB / 0.8271 GB, free: 15.69 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.001055/0.7675, allocations: 0.9351 MB / 0.828 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004419/0.768, allocations: 183.3 kB / 0.8282 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.768, allocations: 1.031 kB / 0.8282 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.7682, allocations: 97.38 kB / 0.8283 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.7689, allocations: 120.3 kB / 0.8284 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.772, allocations: 2.46 MB / 0.8308 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.7725, allocations: 0.755 MB / 0.8315 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.7727, allocations: 67.77 kB / 0.8316 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.7728, allocations: 64.81 kB / 0.8317 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7729, allocations: 1.953 kB / 0.8317 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.8004, allocations: 6.928 MB / 0.8384 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.6, allocations: 7.438 kB / 0.8384 GB, free: 12.34 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)