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.004612/0.004612, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.00104/0.00104, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.723/0.723, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 70.78 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1521, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5453/0.6974, allocations: 161.3 MB / 0.8167 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.6991, allocations: 0.9693 MB / 0.8177 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.6993, allocations: 8.344 kB / 0.8177 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.6999, allocations: 162.8 kB / 0.8178 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.7014, allocations: 0.6612 MB / 0.8185 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.702, allocations: 219 kB / 0.8187 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006305/0.7026, allocations: 0.5193 MB / 0.8192 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.703, allocations: 180.2 kB / 0.8194 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.7034, allocations: 237.8 kB / 0.8196 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.7037, allocations: 157.9 kB / 0.8197 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.7038, allocations: 15.47 kB / 0.8198 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.7048, allocations: 0.5492 MB / 0.8203 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.705, allocations: 78.08 kB / 0.8204 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.7051, allocations: 118.4 kB / 0.8205 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.7061, allocations: 495.2 kB / 0.8209 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7061, allocations: 1.375 kB / 0.8209 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7062, allocations: 0.5 kB / 0.8209 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7062, allocations: 1.188 kB / 0.8209 GB, free: 2.852 MB / 0.6387 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.001481/0.7077, allocations: 0.6124 MB / 0.8215 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.7077, allocations: 10.5 kB / 0.8216 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.7078, allocations: 54.34 kB / 0.8216 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.7081, allocations: 48.64 kB / 0.8217 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.7086, allocations: 287.3 kB / 0.8219 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.7086, allocations: 11.67 kB / 0.8219 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.7087, allocations: 18.97 kB / 0.822 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.7092, allocations: 241.7 kB / 0.8222 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7093, allocations: 3.719 kB / 0.8222 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.7093, allocations: 5.906 kB / 0.8222 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.7093, allocations: 10.12 kB / 0.8222 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005753/0.7099, allocations: 253.6 kB / 0.8225 GB, free: 2.098 MB / 0.6387 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.001203/0.7111, allocations: 0.8345 MB / 0.8233 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.7114, allocations: 144.5 kB / 0.8234 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.7117, allocations: 112.2 kB / 0.8235 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.7119, allocations: 186.3 kB / 0.8237 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.7119, allocations: 36.67 kB / 0.8237 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.712, allocations: 4.969 kB / 0.8237 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0008362/0.7128, allocations: 304.1 kB / 0.824 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.713, allocations: 54.27 kB / 0.8241 GB, free: 17.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.7132, allocations: 243.9 kB / 0.8243 GB, free: 17.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.7132, allocations: 30.52 kB / 0.8243 GB, free: 17.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.7133, allocations: 136.9 kB / 0.8245 GB, free: 17.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.7134, allocations: 56.19 kB / 0.8245 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.7134, allocations: 39.03 kB / 0.8246 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7136, allocations: 331.7 kB / 0.8249 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.7138, allocations: 68.11 kB / 0.8249 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.714, allocations: 104.9 kB / 0.825 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.7143, allocations: 165.8 kB / 0.8252 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7143, allocations: 1.188 kB / 0.8252 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004491/0.7148, allocations: 218.5 kB / 0.8254 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.7148, allocations: 7.219 kB / 0.8254 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.7148, allocations: 1.188 kB / 0.8254 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.7149, allocations: 2.672 kB / 0.8254 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.715, allocations: 34.58 kB / 0.8254 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7151, allocations: 3 kB / 0.8254 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.7152, allocations: 30.83 kB / 0.8255 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.7153, allocations: 6.438 kB / 0.8255 GB, free: 16.59 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.0001307/0.7154, allocations: 142.3 kB / 0.8256 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.7155, allocations: 22.05 kB / 0.8256 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.7155, allocations: 34.45 kB / 0.8257 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.7155, allocations: 4.219 kB / 0.8257 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.7156, allocations: 2.156 kB / 0.8257 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7156, allocations: 5.156 kB / 0.8257 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.7167, allocations: 0.6746 MB / 0.8263 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7167, allocations: 2 kB / 0.8263 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.7168, allocations: 32.12 kB / 0.8264 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.7169, allocations: 3 kB / 0.8264 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.7169, allocations: 8.531 kB / 0.8264 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.7169, allocations: 3.5 kB / 0.8264 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7169, allocations: 3.219 kB / 0.8264 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.7174, allocations: 364.7 kB / 0.8267 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.7176, allocations: 115.4 kB / 0.8269 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.7176, allocations: 9.984 kB / 0.8269 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.7178, allocations: 8.781 kB / 0.8269 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.7178, allocations: 17.09 kB / 0.8269 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.7179, allocations: 5.422 kB / 0.8269 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001844/0.7181, allocations: 184 kB / 0.8271 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7181, allocations: 0 / 0.8271 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000393/0.7185, allocations: 66.7 kB / 0.8271 GB, free: 15.7 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.001114/0.7196, allocations: 0.9348 MB / 0.828 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.7201, allocations: 173.6 kB / 0.8282 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7201, allocations: 1.969 kB / 0.8282 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.7203, allocations: 96.53 kB / 0.8283 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.7211, allocations: 126.8 kB / 0.8284 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.7243, allocations: 2.47 MB / 0.8308 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.7247, allocations: 0.7525 MB / 0.8316 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000248/0.7249, allocations: 62.7 kB / 0.8316 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.7251, allocations: 64.02 kB / 0.8317 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.7251, allocations: 0.8438 kB / 0.8317 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.7483, allocations: 6.932 MB / 0.8385 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/8.247, allocations: 6.438 kB / 0.8385 GB, free: 12.34 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)