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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_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.004918/0.004918, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001314/0.001314, allocations: 187.1 kB / 16.67 MB, free: 5.918 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9425/0.9425, allocations: 135.5 MB / 426.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 75.86 kB / 0.5857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3627, allocations: 81.02 MB / 0.6649 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1817/0.5444, allocations: 161.3 MB / 0.8224 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.5464, allocations: 0.9585 MB / 0.8233 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.5466, allocations: 7.938 kB / 0.8234 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.5472, allocations: 159 kB / 0.8235 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.5487, allocations: 0.638 MB / 0.8241 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.5492, allocations: 233.2 kB / 0.8243 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.5498, allocations: 0.511 MB / 0.8248 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.5502, allocations: 179.7 kB / 0.825 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.5506, allocations: 235.1 kB / 0.8252 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.5508, allocations: 163.3 kB / 0.8254 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.5509, allocations: 16 kB / 0.8254 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/0.5517, allocations: 0.5338 MB / 0.8259 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.5518, allocations: 91.7 kB / 0.826 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.552, allocations: 115.4 kB / 0.8261 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.5527, allocations: 498.4 kB / 0.8266 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5527, allocations: 0 / 0.8266 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5527, allocations: 3.938 kB / 0.8266 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5528, allocations: 0 / 0.8266 GB, free: 10.66 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.001418/0.5542, allocations: 0.6034 MB / 0.8272 GB, free: 10 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5542, allocations: 12.03 kB / 0.8272 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.786e-05/0.5543, allocations: 50.53 kB / 0.8273 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.5546, allocations: 55.77 kB / 0.8273 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.555, allocations: 282.6 kB / 0.8276 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5551, allocations: 16.33 kB / 0.8276 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.5551, allocations: 12 kB / 0.8276 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.5556, allocations: 247.1 kB / 0.8278 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5556, allocations: 0 / 0.8278 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.5557, allocations: 4 kB / 0.8278 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.5557, allocations: 11.94 kB / 0.8279 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.5563, allocations: 255.8 kB / 0.8281 GB, free: 9.023 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.001306/0.5576, allocations: 0.8317 MB / 0.8289 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.558, allocations: 150.4 kB / 0.8291 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.5582, allocations: 119.3 kB / 0.8292 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.5585, allocations: 182.2 kB / 0.8293 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5585, allocations: 34.5 kB / 0.8294 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 3.697e-06/0.5586, allocations: 8 kB / 0.8294 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0008537/0.5594, allocations: 297.4 kB / 0.8297 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.5595, allocations: 55.39 kB / 0.8297 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.5597, allocations: 241 kB / 0.83 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.5598, allocations: 25.7 kB / 0.83 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.5599, allocations: 140.3 kB / 0.8301 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.5599, allocations: 55.52 kB / 0.8302 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.56, allocations: 37.7 kB / 0.8302 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5601, allocations: 334.8 kB / 0.8305 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.5603, allocations: 67.94 kB / 0.8306 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.5606, allocations: 101 kB / 0.8307 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.561, allocations: 170.4 kB / 0.8308 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.561, allocations: 0 / 0.8308 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000462/0.5615, allocations: 219.2 kB / 0.8311 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5615, allocations: 11.94 kB / 0.8311 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5615, allocations: 4.062 kB / 0.8311 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5616, allocations: 0 / 0.8311 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.5617, allocations: 35.91 kB / 0.8311 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5618, allocations: 0 / 0.8311 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.5619, allocations: 27.91 kB / 0.8311 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.562, allocations: 8 kB / 0.8311 GB, free: 5.711 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.0001379/0.5621, allocations: 141.8 kB / 0.8313 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.5621, allocations: 23.86 kB / 0.8313 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-05/0.5622, allocations: 37.83 kB / 0.8313 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.5622, allocations: 0 / 0.8313 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5622, allocations: 0 / 0.8313 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5623, allocations: 3.984 kB / 0.8313 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5633, allocations: 0.6756 MB / 0.832 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.5633, allocations: 0 / 0.832 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.5635, allocations: 35.97 kB / 0.832 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5635, allocations: 4 kB / 0.832 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5635, allocations: 3.938 kB / 0.832 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.5635, allocations: 11.88 kB / 0.832 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5636, allocations: 12.2 kB / 0.8321 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.5641, allocations: 349.2 kB / 0.8324 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5642, allocations: 109 kB / 0.8325 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.5642, allocations: 8 kB / 0.8325 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.5644, allocations: 15.92 kB / 0.8325 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.5645, allocations: 11.98 kB / 0.8325 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.5645, allocations: 4 kB / 0.8325 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001672/0.5647, allocations: 184.5 kB / 0.8327 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5647, allocations: 4 kB / 0.8327 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000333/0.565, allocations: 59.89 kB / 0.8328 GB, free: 3.898 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.001078/0.5661, allocations: 0.9491 MB / 0.8337 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.5666, allocations: 171.8 kB / 0.8339 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5666, allocations: 0 / 0.8339 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.5668, allocations: 99.81 kB / 0.834 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.5676, allocations: 125 kB / 0.8341 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.5707, allocations: 2.457 MB / 0.8365 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.5711, allocations: 0.7558 MB / 0.8372 GB, free: 15.16 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.5713, allocations: 57.91 kB / 0.8373 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.5714, allocations: 67.42 kB / 0.8373 GB, free: 15.04 MB / 0.67 GB Notification: Performance of SimCode: time 2.1e-07/0.5714, allocations: 0 / 0.8373 GB, free: 15.04 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6706/1.242, allocations: 6.925 MB / 0.8441 GB, free: 8.285 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.517, allocations: 3.438 kB / 0.8441 GB, free: 8.285 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)