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.006505/0.006506, allocations: 104.5 kB / 15.74 MB, free: 5.988 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.001233/0.001233, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8323/0.8323, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 67.66 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1509, allocations: 80.92 MB / 0.6641 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5793/0.7302, allocations: 161.3 MB / 0.8217 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.7325, allocations: 0.9626 MB / 0.8226 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004714/0.733, allocations: 9.312 kB / 0.8226 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.7337, allocations: 169.1 kB / 0.8228 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.7355, allocations: 0.6314 MB / 0.8234 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.7362, allocations: 220.9 kB / 0.8236 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.737, allocations: 0.5241 MB / 0.8241 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.7374, allocations: 163.2 kB / 0.8243 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.738, allocations: 237.4 kB / 0.8245 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.7382, allocations: 164.3 kB / 0.8247 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.7383, allocations: 15.88 kB / 0.8247 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009124/0.7392, allocations: 0.54 MB / 0.8252 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.7393, allocations: 83.08 kB / 0.8253 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.7395, allocations: 110.5 kB / 0.8254 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.7403, allocations: 497.9 kB / 0.8259 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7404, allocations: 4 kB / 0.8259 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7404, allocations: 0 / 0.8259 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.7404, allocations: 0 / 0.8259 GB, free: 2.23 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.001507/0.7419, allocations: 0.5984 MB / 0.8265 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7419, allocations: 8.891 kB / 0.8265 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/0.742, allocations: 53.98 kB / 0.8265 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.7423, allocations: 49.53 kB / 0.8266 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.7428, allocations: 291.6 kB / 0.8269 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.7428, allocations: 11.92 kB / 0.8269 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.7429, allocations: 17.53 kB / 0.8269 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.7434, allocations: 237.2 kB / 0.8271 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7434, allocations: 0 / 0.8271 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.7434, allocations: 6.906 kB / 0.8271 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.7435, allocations: 15.08 kB / 0.8271 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.744, allocations: 248.2 kB / 0.8274 GB, free: 1.051 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.001285/0.7453, allocations: 0.8429 MB / 0.8282 GB, free: 336 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.7456, allocations: 149.3 kB / 0.8283 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.7459, allocations: 110.7 kB / 0.8284 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.7462, allocations: 197.2 kB / 0.8286 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.7462, allocations: 30.56 kB / 0.8287 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.755e-06/0.7462, allocations: 0 / 0.8287 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000826/0.747, allocations: 303 kB / 0.8289 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.7471, allocations: 55.41 kB / 0.829 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.7473, allocations: 248.8 kB / 0.8292 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.7473, allocations: 28.64 kB / 0.8293 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.7474, allocations: 138 kB / 0.8294 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.7475, allocations: 48.89 kB / 0.8294 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.7476, allocations: 37.92 kB / 0.8295 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7477, allocations: 331.5 kB / 0.8298 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.7479, allocations: 67.23 kB / 0.8299 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.7481, allocations: 104 kB / 0.83 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.7484, allocations: 167.3 kB / 0.8301 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7484, allocations: 0 / 0.8301 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004461/0.7489, allocations: 216.6 kB / 0.8303 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7489, allocations: 5.281 kB / 0.8303 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7489, allocations: 2.719 kB / 0.8303 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.749, allocations: 0 / 0.8303 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.7491, allocations: 34.38 kB / 0.8304 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7492, allocations: 2.562 kB / 0.8304 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.7493, allocations: 19.36 kB / 0.8304 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.7494, allocations: 8.906 kB / 0.8304 GB, free: 14.64 MB / 0.6075 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.0001195/0.7495, allocations: 144.6 kB / 0.8305 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.7495, allocations: 26 kB / 0.8306 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/0.7496, allocations: 33.7 kB / 0.8306 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7496, allocations: 0 / 0.8306 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7496, allocations: 0 / 0.8306 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7496, allocations: 2.188 kB / 0.8306 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.7507, allocations: 0.6803 MB / 0.8313 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7507, allocations: 2.438 kB / 0.8313 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.7509, allocations: 38.59 kB / 0.8313 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7509, allocations: 2.625 kB / 0.8313 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.7509, allocations: 2.812 kB / 0.8313 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.7509, allocations: 4.75 kB / 0.8313 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7509, allocations: 3.938 kB / 0.8313 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.7514, allocations: 352.5 kB / 0.8316 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.7515, allocations: 115.8 kB / 0.8318 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.7516, allocations: 6.938 kB / 0.8318 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.7517, allocations: 12.42 kB / 0.8318 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.7518, allocations: 19.73 kB / 0.8318 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.7518, allocations: 9.062 kB / 0.8318 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001415/0.752, allocations: 182.6 kB / 0.832 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.752, allocations: 0 / 0.832 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003445/0.7523, allocations: 54.38 kB / 0.832 GB, free: 13.3 MB / 0.6075 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.001052/0.7534, allocations: 0.9464 MB / 0.8329 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.7539, allocations: 174.2 kB / 0.8331 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7539, allocations: 6.812 kB / 0.8331 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.7541, allocations: 99.89 kB / 0.8332 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.7549, allocations: 119.9 kB / 0.8333 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.7581, allocations: 2.451 MB / 0.8357 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.7585, allocations: 0.7541 MB / 0.8365 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.7587, allocations: 58.56 kB / 0.8365 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.7588, allocations: 68.12 kB / 0.8366 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.7588, allocations: 0 / 0.8366 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.7872, allocations: 7.014 MB / 0.8434 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.919, allocations: 9.172 kB / 0.8434 GB, free: 5.984 MB / 0.6075 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/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)