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.001028/0.001028, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001357/0.001357, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7342/0.7342, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004317, allocations: 12 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4543, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1662/0.6205, allocations: 146.5 MB / 0.7262 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.6222, allocations: 0.9161 MB / 0.7271 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.6224, allocations: 7.938 kB / 0.7271 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.6228, allocations: 107.2 kB / 0.7272 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.6239, allocations: 469.9 kB / 0.7277 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.6245, allocations: 190.5 kB / 0.7278 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.6251, allocations: 0.6202 MB / 0.7284 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.6255, allocations: 140 kB / 0.7286 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.6258, allocations: 207.2 kB / 0.7288 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.626, allocations: 163.3 kB / 0.7289 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.6261, allocations: 11.94 kB / 0.7289 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005774/0.6266, allocations: 287.3 kB / 0.7292 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.6267, allocations: 75.78 kB / 0.7293 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.6268, allocations: 69.58 kB / 0.7294 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.6272, allocations: 291.3 kB / 0.7296 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6272, allocations: 0 / 0.7296 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6272, allocations: 0 / 0.7296 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.6272, allocations: 0 / 0.7296 GB, free: 10.19 MB / 0.5606 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.001249/0.6284, allocations: 0.5689 MB / 0.7302 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6285, allocations: 8.031 kB / 0.7302 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.6286, allocations: 54.55 kB / 0.7302 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.6288, allocations: 43.69 kB / 0.7303 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.6292, allocations: 274.5 kB / 0.7305 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.6292, allocations: 8.328 kB / 0.7306 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.6293, allocations: 16 kB / 0.7306 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.6298, allocations: 246.9 kB / 0.7308 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6298, allocations: 4 kB / 0.7308 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.6299, allocations: 7.984 kB / 0.7308 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.6299, allocations: 12 kB / 0.7308 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.6305, allocations: 263.8 kB / 0.7311 GB, free: 8.598 MB / 0.5606 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.001332/0.6319, allocations: 0.8431 MB / 0.7319 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.6322, allocations: 150.4 kB / 0.732 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.6325, allocations: 112.9 kB / 0.7322 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.6328, allocations: 190.2 kB / 0.7323 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.6328, allocations: 38.56 kB / 0.7324 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.6328, allocations: 0 / 0.7324 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0008635/0.6337, allocations: 316 kB / 0.7327 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.6337, allocations: 55.36 kB / 0.7327 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.634, allocations: 245 kB / 0.733 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.634, allocations: 29.7 kB / 0.733 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6342, allocations: 132.2 kB / 0.7331 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.6342, allocations: 55.28 kB / 0.7332 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.6342, allocations: 0 / 0.7332 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6344, allocations: 334.8 kB / 0.7335 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.6346, allocations: 71.95 kB / 0.7336 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.6348, allocations: 109.7 kB / 0.7337 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.635, allocations: 87.89 kB / 0.7337 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.635, allocations: 0 / 0.7337 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004446/0.6355, allocations: 233.2 kB / 0.734 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6355, allocations: 4 kB / 0.734 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6355, allocations: 4 kB / 0.734 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.6356, allocations: 0 / 0.734 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.6357, allocations: 27.98 kB / 0.734 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6358, allocations: 7.953 kB / 0.734 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.6359, allocations: 27.83 kB / 0.734 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.636, allocations: 12.02 kB / 0.734 GB, free: 5.371 MB / 0.5606 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.0001435/0.6361, allocations: 145.8 kB / 0.7342 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.6362, allocations: 19.72 kB / 0.7342 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.6363, allocations: 37.83 kB / 0.7342 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.6363, allocations: 0 / 0.7342 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6363, allocations: 0 / 0.7342 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.6363, allocations: 3.953 kB / 0.7342 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6373, allocations: 0.6796 MB / 0.7349 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6373, allocations: 4 kB / 0.7349 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.6375, allocations: 43.86 kB / 0.735 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.6375, allocations: 7.938 kB / 0.735 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6375, allocations: 4 kB / 0.735 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6375, allocations: 0 / 0.735 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6375, allocations: 4 kB / 0.735 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.638, allocations: 365.3 kB / 0.7353 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6381, allocations: 120.8 kB / 0.7354 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.6382, allocations: 11.95 kB / 0.7354 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.6383, allocations: 11.98 kB / 0.7355 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.6384, allocations: 19.92 kB / 0.7355 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.6384, allocations: 8 kB / 0.7355 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001567/0.6386, allocations: 176.5 kB / 0.7357 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6386, allocations: 0 / 0.7357 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003418/0.6389, allocations: 59.94 kB / 0.7357 GB, free: 3.52 MB / 0.5606 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.0009769/0.6399, allocations: 0.9543 MB / 0.7366 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.6404, allocations: 175.9 kB / 0.7368 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6404, allocations: 4 kB / 0.7368 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.6406, allocations: 95.81 kB / 0.7369 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006964/0.6413, allocations: 120.8 kB / 0.737 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.6434, allocations: 1.37 MB / 0.7384 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.6437, allocations: 0.756 MB / 0.7391 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.644, allocations: 57.91 kB / 0.7392 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6441, allocations: 63.41 kB / 0.7392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.6441, allocations: 0 / 0.7392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.6622, allocations: 6.37 MB / 0.7454 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/0.6625, allocations: 227.7 kB / 0.7456 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.524, allocations: 0 / 0.7456 GB, free: 9.418 MB / 0.5762 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/linux/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) Environment - environmentSimulation: