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.00624/0.00624, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001428/0.001428, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 0.5808 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4095, allocations: 80.2 MB / 0.6592 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1686/0.5781, allocations: 161.3 MB / 0.8167 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.5801, allocations: 0.9586 MB / 0.8177 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.5805, allocations: 7.938 kB / 0.8177 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006229/0.5811, allocations: 159 kB / 0.8178 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.5827, allocations: 0.6341 MB / 0.8184 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.5833, allocations: 228.7 kB / 0.8187 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006038/0.584, allocations: 0.5149 MB / 0.8192 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.5843, allocations: 178.3 kB / 0.8193 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.5847, allocations: 239.1 kB / 0.8196 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.5849, allocations: 159.3 kB / 0.8197 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.585, allocations: 19.94 kB / 0.8197 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.5858, allocations: 0.5378 MB / 0.8203 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.586, allocations: 79.73 kB / 0.8203 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.5861, allocations: 115.4 kB / 0.8204 GB, free: 452 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.5867, allocations: 498.7 kB / 0.8209 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5867, allocations: 0 / 0.8209 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5868, allocations: 0 / 0.8209 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.5868, allocations: 0 / 0.8209 GB, free: 15.95 MB / 0.6544 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.001341/0.5881, allocations: 0.6077 MB / 0.8215 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5882, allocations: 12.03 kB / 0.8215 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.5882, allocations: 50.55 kB / 0.8216 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.5885, allocations: 55.61 kB / 0.8216 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.5889, allocations: 282.5 kB / 0.8219 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.5889, allocations: 12.33 kB / 0.8219 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.5889, allocations: 12 kB / 0.8219 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.5894, allocations: 243.1 kB / 0.8222 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5894, allocations: 0 / 0.8222 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.5894, allocations: 4 kB / 0.8222 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.5895, allocations: 12 kB / 0.8222 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.59, allocations: 255.7 kB / 0.8224 GB, free: 14.32 MB / 0.6544 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.001132/0.5911, allocations: 0.8275 MB / 0.8232 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.5914, allocations: 150.4 kB / 0.8234 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.5916, allocations: 116.9 kB / 0.8235 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.5919, allocations: 186.2 kB / 0.8237 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5919, allocations: 38.5 kB / 0.8237 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.5919, allocations: 4 kB / 0.8237 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0007439/0.5927, allocations: 305.2 kB / 0.824 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.5927, allocations: 51.41 kB / 0.824 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.5929, allocations: 245 kB / 0.8243 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.593, allocations: 25.7 kB / 0.8243 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.5931, allocations: 140.3 kB / 0.8244 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.5931, allocations: 47.2 kB / 0.8245 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.5932, allocations: 41.7 kB / 0.8245 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5933, allocations: 326.8 kB / 0.8248 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.5935, allocations: 63.94 kB / 0.8249 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.5936, allocations: 102.5 kB / 0.825 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.594, allocations: 173.7 kB / 0.8251 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.594, allocations: 0 / 0.8251 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004045/0.5944, allocations: 213.3 kB / 0.8253 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5944, allocations: 16.05 kB / 0.8254 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5944, allocations: 0 / 0.8254 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5945, allocations: 0 / 0.8254 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.5946, allocations: 35.97 kB / 0.8254 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5947, allocations: 0 / 0.8254 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.5948, allocations: 23.81 kB / 0.8254 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.5948, allocations: 12 kB / 0.8254 GB, free: 11.02 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.0001223/0.595, allocations: 142.4 kB / 0.8256 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.595, allocations: 27.72 kB / 0.8256 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.5951, allocations: 33.83 kB / 0.8256 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5951, allocations: 0 / 0.8256 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5951, allocations: 0 / 0.8256 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5951, allocations: 0 / 0.8256 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.5961, allocations: 0.6833 MB / 0.8263 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.5961, allocations: 0 / 0.8263 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.5963, allocations: 31.92 kB / 0.8263 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5963, allocations: 4 kB / 0.8263 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.5963, allocations: 3.984 kB / 0.8263 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.5963, allocations: 12.09 kB / 0.8263 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5963, allocations: 8 kB / 0.8264 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.5968, allocations: 345.2 kB / 0.8267 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.5969, allocations: 108.8 kB / 0.8268 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.5969, allocations: 11.98 kB / 0.8268 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.5971, allocations: 11.94 kB / 0.8268 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.5971, allocations: 15.97 kB / 0.8268 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.5972, allocations: 8 kB / 0.8268 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001481/0.5973, allocations: 180.5 kB / 0.827 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5973, allocations: 3.938 kB / 0.827 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003189/0.5976, allocations: 67.84 kB / 0.8271 GB, free: 9.199 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.0009211/0.5986, allocations: 0.9314 MB / 0.828 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.599, allocations: 179.8 kB / 0.8282 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.599, allocations: 4 kB / 0.8282 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.5992, allocations: 91.81 kB / 0.8282 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.5999, allocations: 125.8 kB / 0.8284 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.6026, allocations: 2.458 MB / 0.8308 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.6029, allocations: 0.7519 MB / 0.8315 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001687/0.6031, allocations: 61.91 kB / 0.8316 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.6032, allocations: 67.41 kB / 0.8316 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.6032, allocations: 0 / 0.8316 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.6268, allocations: 7.004 MB / 0.8385 GB, free: 13.55 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.855, allocations: 17.17 kB / 0.8385 GB, free: 13.54 MB / 0.67 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)