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.001659/0.001659, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002694/0.002694, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.251/2.251, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.598/1.598, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003601, allocations: 8 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1946, allocations: 82.31 MB / 0.5873 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5726/0.7673, allocations: 135.5 MB / 0.7196 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.769, allocations: 0.9662 MB / 0.7205 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.7692, allocations: 7.875 kB / 0.7205 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.7698, allocations: 172.7 kB / 0.7207 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.7708, allocations: 426.2 kB / 0.7211 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.7716, allocations: 265.6 kB / 0.7213 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.7721, allocations: 310.2 kB / 0.7216 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.7724, allocations: 155.3 kB / 0.7218 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006088/0.773, allocations: 258.9 kB / 0.722 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.7732, allocations: 99.44 kB / 0.7221 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.7732, allocations: 13.38 kB / 0.7221 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006/0.7738, allocations: 245.4 kB / 0.7224 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.774, allocations: 70 kB / 0.7224 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.7741, allocations: 68.41 kB / 0.7225 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.7745, allocations: 264.9 kB / 0.7227 GB, free: 10.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7745, allocations: 0 / 0.7227 GB, free: 10.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7745, allocations: 0 / 0.7227 GB, free: 10.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.7745, allocations: 1.344 kB / 0.7228 GB, free: 10.25 MB / 0.545 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.001364/0.7759, allocations: 0.5484 MB / 0.7233 GB, free: 9.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7759, allocations: 9.594 kB / 0.7233 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.776, allocations: 58.59 kB / 0.7234 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.7763, allocations: 45.34 kB / 0.7234 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.7766, allocations: 269.9 kB / 0.7237 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.7767, allocations: 15.2 kB / 0.7237 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.7767, allocations: 15.34 kB / 0.7237 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.7772, allocations: 243 kB / 0.7239 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7772, allocations: 2.203 kB / 0.7239 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.7773, allocations: 4.844 kB / 0.7239 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.7773, allocations: 13.05 kB / 0.7239 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.7779, allocations: 258.1 kB / 0.7242 GB, free: 9.305 MB / 0.545 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.001204/0.7791, allocations: 0.7847 MB / 0.7249 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.7795, allocations: 158.5 kB / 0.7251 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.7795, allocations: 5.891 kB / 0.7251 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.7796, allocations: 44.88 kB / 0.7251 GB, free: 8.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.7796, allocations: 0 / 0.7251 GB, free: 8.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0008291/0.7804, allocations: 305.7 kB / 0.7254 GB, free: 8.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.7805, allocations: 54.16 kB / 0.7255 GB, free: 8.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.7807, allocations: 239.8 kB / 0.7257 GB, free: 8.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.7807, allocations: 30.89 kB / 0.7257 GB, free: 8.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.7808, allocations: 134.5 kB / 0.7259 GB, free: 8.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.7809, allocations: 50.12 kB / 0.7259 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-06/0.7809, allocations: 0 / 0.7259 GB, free: 8.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.781, allocations: 338.2 kB / 0.7262 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.7812, allocations: 77.91 kB / 0.7263 GB, free: 7.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.7814, allocations: 109.5 kB / 0.7264 GB, free: 7.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.7816, allocations: 82.84 kB / 0.7265 GB, free: 7.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7816, allocations: 1.938 kB / 0.7265 GB, free: 7.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004329/0.7821, allocations: 227.6 kB / 0.7267 GB, free: 7.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7821, allocations: 5.094 kB / 0.7267 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.7821, allocations: 1.656 kB / 0.7267 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.7821, allocations: 2.359 kB / 0.7267 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.7823, allocations: 34.98 kB / 0.7268 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7823, allocations: 4.906 kB / 0.7268 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.7825, allocations: 28.52 kB / 0.7268 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.7825, allocations: 6.562 kB / 0.7268 GB, free: 7.574 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.7827, allocations: 150.7 kB / 0.7269 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.7827, allocations: 21.38 kB / 0.727 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.097e-05/0.7828, allocations: 32.14 kB / 0.727 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7828, allocations: 1.812 kB / 0.727 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7828, allocations: 0 / 0.727 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7828, allocations: 0.75 kB / 0.727 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.7839, allocations: 0.6845 MB / 0.7277 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7839, allocations: 1.375 kB / 0.7277 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.784, allocations: 39.64 kB / 0.7277 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.784, allocations: 3.781 kB / 0.7277 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.7841, allocations: 2.75 kB / 0.7277 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.7841, allocations: 7.922 kB / 0.7277 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7841, allocations: 2.969 kB / 0.7277 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.7846, allocations: 453.3 kB / 0.7282 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.7847, allocations: 116.2 kB / 0.7283 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.7848, allocations: 8.5 kB / 0.7283 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.785, allocations: 23.12 kB / 0.7283 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.785, allocations: 13.33 kB / 0.7283 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.7851, allocations: 10.16 kB / 0.7283 GB, free: 6.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001613/0.7852, allocations: 178.5 kB / 0.7285 GB, free: 6.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7852, allocations: 3.938 kB / 0.7285 GB, free: 6.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003546/0.7856, allocations: 52.67 kB / 0.7285 GB, free: 6.281 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.7867, allocations: 1.509 MB / 0.73 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.7872, allocations: 183 kB / 0.7302 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7872, allocations: 1.625 kB / 0.7302 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.7874, allocations: 100.2 kB / 0.7303 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.7881, allocations: 114 kB / 0.7304 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.7905, allocations: 1.665 MB / 0.732 GB, free: 3.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.7908, allocations: 0.7546 MB / 0.7328 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.7911, allocations: 61.91 kB / 0.7328 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.7912, allocations: 68.98 kB / 0.7329 GB, free: 2.961 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.7912, allocations: 2 kB / 0.7329 GB, free: 2.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.968/2.759, allocations: 6.351 MB / 0.7391 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004316/2.759, allocations: 227.7 kB / 0.7393 GB, free: 468 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/4.459, allocations: 2.25 kB / 0.7393 GB, free: 468 kB / 0.545 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/linux/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) Environment - environmentSimulation: