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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.15/1.15, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.254/2.254, allocations: 221.5 MB / 395.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 104 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.133e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6678, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.328/7.995, allocations: 1.828 GB / 2.462 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/7.996, allocations: 83.95 kB / 2.462 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.41/9.406, allocations: 214.5 MB / 2.671 GB, free: 203 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/9.406, allocations: 0 / 2.671 GB, free: 203 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.062e-05/9.406, allocations: 7.031 kB / 2.671 GB, free: 203 MB / 0.6823 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.00346/9.41, allocations: 0.6198 MB / 2.672 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/9.41, allocations: 11.72 kB / 2.672 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/9.411, allocations: 47.59 kB / 2.672 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/9.412, allocations: 299.9 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/9.412, allocations: 3.938 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/9.412, allocations: 7.875 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004792/9.412, allocations: 146.5 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/9.413, allocations: 206.4 kB / 2.672 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/9.413, allocations: 2.281 kB / 2.672 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/9.413, allocations: 0 / 2.672 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/9.413, allocations: 3.734 kB / 2.672 GB, free: 202.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002353/9.415, allocations: 0.828 MB / 2.673 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/9.416, allocations: 124.2 kB / 2.673 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/9.416, allocations: 93.94 kB / 2.673 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/9.416, allocations: 193.9 kB / 2.674 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/9.416, allocations: 32.88 kB / 2.674 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.785e-06/9.416, allocations: 0 / 2.674 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.000991/9.417, allocations: 212.4 kB / 2.674 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/9.417, allocations: 58.62 kB / 2.674 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/9.418, allocations: 155.2 kB / 2.674 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/9.418, allocations: 25.7 kB / 2.674 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/9.418, allocations: 148.3 kB / 2.674 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/9.418, allocations: 46.11 kB / 2.674 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/9.418, allocations: 0 / 2.674 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001036/9.418, allocations: 326.8 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/9.418, allocations: 64.53 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/9.419, allocations: 114.4 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/9.419, allocations: 72.19 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/9.419, allocations: 0 / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005482/9.419, allocations: 200 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/9.419, allocations: 3.938 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/9.419, allocations: 3.938 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/9.419, allocations: 0 / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/9.42, allocations: 39.3 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/9.42, allocations: 0 / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/9.42, allocations: 31.55 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/9.42, allocations: 11.8 kB / 2.675 GB, free: 201 MB / 0.6823 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 () * 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.0001489/9.421, allocations: 107 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005311/9.421, allocations: 189.9 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.44e-05/9.421, allocations: 16.19 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/9.421, allocations: 29.05 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/9.421, allocations: 1.969 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/9.421, allocations: 7.016 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/9.421, allocations: 0 / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/9.423, allocations: 0.6304 MB / 2.676 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/9.423, allocations: 3.969 kB / 2.676 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/9.423, allocations: 49.44 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/9.423, allocations: 2.469 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/9.423, allocations: 10.25 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/9.423, allocations: 3.688 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-06/9.423, allocations: 3.969 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/9.424, allocations: 416.7 kB / 2.676 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/9.424, allocations: 121.5 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/9.424, allocations: 3.844 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/9.425, allocations: 18.73 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/9.425, allocations: 7.469 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/9.425, allocations: 10.72 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001543/9.425, allocations: 129.9 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/9.425, allocations: 3.75 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001022/9.426, allocations: 117.5 kB / 2.677 GB, free: 200.1 MB / 0.6823 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 () * 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.003548/9.43, allocations: 2.337 MB / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005523/9.43, allocations: 159.8 kB / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/9.43, allocations: 0 / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/9.43, allocations: 91.61 kB / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/9.432, allocations: 82.98 kB / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/9.433, allocations: 371.5 kB / 2.68 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/9.434, allocations: 0.7648 MB / 2.681 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004446/9.434, allocations: 64.02 kB / 2.681 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/9.434, allocations: 65.28 kB / 2.681 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/9.434, allocations: 0 / 2.681 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05355/9.488, allocations: 11.71 MB / 2.692 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/9.488, allocations: 165.6 kB / 2.692 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/12.58, allocations: 0 / 2.692 GB, free: 197.4 MB / 0.6823 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)