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.004799/0.004799, allocations: 105.9 kB / 15.73 MB, free: 6 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.001198/0.001198, allocations: 189 kB / 16.67 MB, free: 5.926 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.218/1.218, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7463/0.7463, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 66.86 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1457, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5035/0.6493, allocations: 161.3 MB / 0.8167 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.6513, allocations: 0.9552 MB / 0.8177 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.6518, allocations: 9 kB / 0.8177 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.6525, allocations: 164.8 kB / 0.8178 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.654, allocations: 0.656 MB / 0.8185 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.6547, allocations: 225.9 kB / 0.8187 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000616/0.6553, allocations: 0.517 MB / 0.8192 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.6557, allocations: 168.7 kB / 0.8194 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.6562, allocations: 247 kB / 0.8196 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.6565, allocations: 161.1 kB / 0.8197 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.6565, allocations: 19.41 kB / 0.8198 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008095/0.6574, allocations: 0.5393 MB / 0.8203 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.6575, allocations: 88.11 kB / 0.8204 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.6576, allocations: 109.6 kB / 0.8205 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.6584, allocations: 0.4884 MB / 0.821 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6584, allocations: 0 / 0.821 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.876e-06/0.6584, allocations: 6.75 kB / 0.821 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.6584, allocations: 3.938 kB / 0.821 GB, free: 7.961 MB / 0.5919 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.001421/0.6599, allocations: 0.5964 MB / 0.8215 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6599, allocations: 10.41 kB / 0.8216 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.66, allocations: 47.86 kB / 0.8216 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.6602, allocations: 49.44 kB / 0.8216 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.6607, allocations: 291.5 kB / 0.8219 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.6607, allocations: 13.27 kB / 0.8219 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.6607, allocations: 13.56 kB / 0.822 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.6612, allocations: 240.1 kB / 0.8222 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6612, allocations: 0 / 0.8222 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.6612, allocations: 6.656 kB / 0.8222 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.6612, allocations: 8 kB / 0.8222 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.6618, allocations: 259.5 kB / 0.8224 GB, free: 6.781 MB / 0.5919 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.001124/0.6629, allocations: 0.8428 MB / 0.8233 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.6632, allocations: 142.5 kB / 0.8234 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.6634, allocations: 110.8 kB / 0.8235 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.6636, allocations: 188.8 kB / 0.8237 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.6637, allocations: 35.56 kB / 0.8237 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.6637, allocations: 0 / 0.8237 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0007466/0.6644, allocations: 302.6 kB / 0.824 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.6645, allocations: 54.31 kB / 0.8241 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.6647, allocations: 246.5 kB / 0.8243 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.6647, allocations: 28.89 kB / 0.8243 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.6648, allocations: 141.8 kB / 0.8245 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.6648, allocations: 44.67 kB / 0.8245 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.6649, allocations: 34.36 kB / 0.8245 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.665, allocations: 338.4 kB / 0.8249 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.6652, allocations: 59.86 kB / 0.8249 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.6654, allocations: 109.8 kB / 0.825 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.6657, allocations: 168.1 kB / 0.8252 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6657, allocations: 3.984 kB / 0.8252 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004056/0.6661, allocations: 212.5 kB / 0.8254 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6662, allocations: 7.344 kB / 0.8254 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6662, allocations: 0 / 0.8254 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.6662, allocations: 0 / 0.8254 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.6664, allocations: 48 kB / 0.8254 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6664, allocations: 0 / 0.8254 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.6665, allocations: 22.86 kB / 0.8255 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.6666, allocations: 5.719 kB / 0.8255 GB, free: 4.367 MB / 0.5919 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.0001132/0.6667, allocations: 144.7 kB / 0.8256 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.6667, allocations: 22.16 kB / 0.8256 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.6668, allocations: 33.2 kB / 0.8257 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6668, allocations: 2.719 kB / 0.8257 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6668, allocations: 0 / 0.8257 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.6668, allocations: 8.016 kB / 0.8257 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.6678, allocations: 0.6861 MB / 0.8263 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6678, allocations: 2.906 kB / 0.8263 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.6679, allocations: 27.66 kB / 0.8264 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.668, allocations: 9.75 kB / 0.8264 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.668, allocations: 2.375 kB / 0.8264 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.668, allocations: 6.469 kB / 0.8264 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.668, allocations: 6.188 kB / 0.8264 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.6684, allocations: 352.8 kB / 0.8267 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.6685, allocations: 108.2 kB / 0.8268 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.6686, allocations: 6.594 kB / 0.8268 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.6687, allocations: 8.828 kB / 0.8268 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6688, allocations: 23.55 kB / 0.8269 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.6688, allocations: 5.094 kB / 0.8269 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001369/0.669, allocations: 178.7 kB / 0.827 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.669, allocations: 0 / 0.827 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003299/0.6693, allocations: 58 kB / 0.8271 GB, free: 3.031 MB / 0.5919 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.0009297/0.6702, allocations: 0.9424 MB / 0.828 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.6707, allocations: 180.9 kB / 0.8282 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6707, allocations: 2.812 kB / 0.8282 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.6709, allocations: 98.69 kB / 0.8283 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.6716, allocations: 125.9 kB / 0.8284 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.6743, allocations: 2.452 MB / 0.8308 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.6747, allocations: 0.7559 MB / 0.8315 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.6748, allocations: 65.14 kB / 0.8316 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.675, allocations: 63.64 kB / 0.8317 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.675, allocations: 3.938 kB / 0.8317 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.6996, allocations: 6.906 MB / 0.8384 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.741, allocations: 12.64 kB / 0.8384 GB, free: 11.81 MB / 0.6075 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)