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.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 56.06 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3778, allocations: 80.21 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1714/0.5492, allocations: 161.3 MB / 0.7377 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.551, allocations: 0.9697 MB / 0.7387 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.5512, allocations: 7.938 kB / 0.7387 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.5517, allocations: 155 kB / 0.7388 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.553, allocations: 0.6457 MB / 0.7395 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.5536, allocations: 214.4 kB / 0.7397 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.5541, allocations: 0.5187 MB / 0.7402 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.5544, allocations: 176.1 kB / 0.7403 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.5548, allocations: 231.1 kB / 0.7406 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.555, allocations: 163.3 kB / 0.7407 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.555, allocations: 12 kB / 0.7407 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000776/0.5558, allocations: 0.5377 MB / 0.7413 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.5559, allocations: 83.77 kB / 0.7413 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.556, allocations: 111.4 kB / 0.7414 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.5566, allocations: 486.7 kB / 0.7419 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5566, allocations: 0 / 0.7419 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5566, allocations: 7.938 kB / 0.7419 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.5566, allocations: 0 / 0.7419 GB, free: 11.32 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001321/0.558, allocations: 0.6078 MB / 0.7425 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.558, allocations: 8.031 kB / 0.7425 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.5581, allocations: 54.53 kB / 0.7426 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.5583, allocations: 47.69 kB / 0.7426 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.5586, allocations: 274.3 kB / 0.7429 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5587, allocations: 16.33 kB / 0.7429 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.5587, allocations: 16 kB / 0.7429 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.5592, allocations: 242.9 kB / 0.7431 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.5592, allocations: 3.938 kB / 0.7431 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.5592, allocations: 4 kB / 0.7431 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.5593, allocations: 15.92 kB / 0.7432 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.5599, allocations: 247.8 kB / 0.7434 GB, free: 9.703 MB / 0.5762 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.001149/0.561, allocations: 0.8509 MB / 0.7442 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.5614, allocations: 138.6 kB / 0.7444 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.5616, allocations: 115.2 kB / 0.7445 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.5618, allocations: 198.1 kB / 0.7447 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5619, allocations: 34.5 kB / 0.7447 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.5619, allocations: 0 / 0.7447 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.000776/0.5627, allocations: 293.3 kB / 0.745 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.5627, allocations: 55.41 kB / 0.745 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.5629, allocations: 245 kB / 0.7453 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.5629, allocations: 29.7 kB / 0.7453 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.563, allocations: 132.2 kB / 0.7454 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.5631, allocations: 55.28 kB / 0.7455 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.5632, allocations: 33.7 kB / 0.7455 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5633, allocations: 334.8 kB / 0.7458 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.5635, allocations: 63.95 kB / 0.7459 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.5637, allocations: 106.5 kB / 0.746 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.564, allocations: 166.4 kB / 0.7461 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.564, allocations: 0 / 0.7461 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004419/0.5645, allocations: 228.7 kB / 0.7464 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5645, allocations: 4 kB / 0.7464 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5645, allocations: 4 kB / 0.7464 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5645, allocations: 0 / 0.7464 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5647, allocations: 35.91 kB / 0.7464 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5648, allocations: 0 / 0.7464 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5649, allocations: 23.83 kB / 0.7464 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.5649, allocations: 8.062 kB / 0.7464 GB, free: 6.395 MB / 0.5762 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.0001137/0.5651, allocations: 138.5 kB / 0.7466 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.5651, allocations: 27.66 kB / 0.7466 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/0.5652, allocations: 29.83 kB / 0.7466 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5652, allocations: 4 kB / 0.7466 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5652, allocations: 0 / 0.7466 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5652, allocations: 0 / 0.7466 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.5662, allocations: 0.6756 MB / 0.7473 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5662, allocations: 4 kB / 0.7473 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.5664, allocations: 44.12 kB / 0.7473 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5664, allocations: 0 / 0.7473 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.5664, allocations: 8 kB / 0.7473 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5664, allocations: 11.88 kB / 0.7473 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5665, allocations: 3.938 kB / 0.7473 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.5669, allocations: 349.1 kB / 0.7477 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.567, allocations: 116.8 kB / 0.7478 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.5671, allocations: 4 kB / 0.7478 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.5672, allocations: 11.98 kB / 0.7478 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.5673, allocations: 23.95 kB / 0.7478 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.5673, allocations: 8 kB / 0.7478 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001496/0.5675, allocations: 176.5 kB / 0.748 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5675, allocations: 0 / 0.748 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003321/0.5678, allocations: 63.94 kB / 0.7481 GB, free: 4.566 MB / 0.5762 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.0009363/0.5688, allocations: 0.9368 MB / 0.749 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.5692, allocations: 171.8 kB / 0.7491 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5692, allocations: 0 / 0.7491 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.5694, allocations: 96.3 kB / 0.7492 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007064/0.5701, allocations: 130 kB / 0.7494 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.5729, allocations: 2.445 MB / 0.7517 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5733, allocations: 0.7518 MB / 0.7525 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000218/0.5735, allocations: 65.89 kB / 0.7525 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.5736, allocations: 67.36 kB / 0.7526 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.5736, allocations: 0 / 0.7526 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1874/0.7611, allocations: 6.842 MB / 0.7593 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.886, allocations: 19.03 kB / 0.7593 GB, free: 9.051 MB / 0.5919 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)