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.0007966/0.0007963, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009032/0.0009031, allocations: 172.7 kB / 15.95 MB, free: 208 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.3 MB / 426.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 13.09 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1874, allocations: 82.31 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.604/0.7914, allocations: 146.5 MB / 0.7305 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.7937, allocations: 0.9162 MB / 0.7314 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.794, allocations: 10.66 kB / 0.7314 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.7946, allocations: 104.7 kB / 0.7315 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.7963, allocations: 471 kB / 0.7319 GB, free: 2.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.797, allocations: 184.4 kB / 0.7321 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009669/0.798, allocations: 0.6188 MB / 0.7327 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.7984, allocations: 137.1 kB / 0.7329 GB, free: 2.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.7989, allocations: 216.2 kB / 0.7331 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.7992, allocations: 159.8 kB / 0.7332 GB, free: 1.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.7992, allocations: 8.281 kB / 0.7332 GB, free: 1.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000899/0.8001, allocations: 290.1 kB / 0.7335 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.8002, allocations: 75.31 kB / 0.7336 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.8003, allocations: 69.7 kB / 0.7336 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.8009, allocations: 292.6 kB / 0.7339 GB, free: 1.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8009, allocations: 8 kB / 0.7339 GB, free: 1.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8009, allocations: 0 / 0.7339 GB, free: 1.617 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.8009, allocations: 1.031 kB / 0.7339 GB, free: 1.617 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.001503/0.8024, allocations: 0.5627 MB / 0.7345 GB, free: 1.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.8025, allocations: 8.594 kB / 0.7345 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.058e-05/0.8026, allocations: 48.38 kB / 0.7345 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.8028, allocations: 49.67 kB / 0.7346 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.8032, allocations: 273.3 kB / 0.7348 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.8033, allocations: 18.81 kB / 0.7349 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.8033, allocations: 16.84 kB / 0.7349 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.8038, allocations: 240.2 kB / 0.7351 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8039, allocations: 0 / 0.7351 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.8039, allocations: 9.359 kB / 0.7351 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.8039, allocations: 12.97 kB / 0.7351 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.8046, allocations: 268.3 kB / 0.7354 GB, free: 0.6562 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.00137/0.806, allocations: 0.84 MB / 0.7362 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.8063, allocations: 153 kB / 0.7363 GB, free: 0 / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.8066, allocations: 113.4 kB / 0.7365 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.8069, allocations: 195.8 kB / 0.7366 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.8069, allocations: 30.56 kB / 0.7367 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.8069, allocations: 0 / 0.7367 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0008988/0.8078, allocations: 313.9 kB / 0.737 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.8079, allocations: 53.59 kB / 0.737 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.8082, allocations: 245.1 kB / 0.7373 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.8082, allocations: 26.8 kB / 0.7373 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.8084, allocations: 139.3 kB / 0.7374 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.8084, allocations: 44.53 kB / 0.7375 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.8085, allocations: 9.094 kB / 0.7375 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8086, allocations: 330.4 kB / 0.7378 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.8088, allocations: 69.52 kB / 0.7378 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.809, allocations: 115.5 kB / 0.738 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.8092, allocations: 89.05 kB / 0.738 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8093, allocations: 0 / 0.738 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004638/0.8097, allocations: 224.3 kB / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8098, allocations: 9.844 kB / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8098, allocations: 0 / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8098, allocations: 3.328 kB / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.81, allocations: 30.56 kB / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.81, allocations: 1.594 kB / 0.7383 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.8102, allocations: 36.17 kB / 0.7383 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.8103, allocations: 11.66 kB / 0.7383 GB, free: 14.68 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.0001528/0.8104, allocations: 139.4 kB / 0.7385 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.8105, allocations: 22.72 kB / 0.7385 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.8106, allocations: 33.97 kB / 0.7385 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8106, allocations: 1.375 kB / 0.7385 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8106, allocations: 0 / 0.7385 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8106, allocations: 5.375 kB / 0.7385 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.8117, allocations: 0.6852 MB / 0.7392 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.8117, allocations: 5.359 kB / 0.7392 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.8119, allocations: 37.41 kB / 0.7392 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.8119, allocations: 8.078 kB / 0.7393 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.812, allocations: 6.75 kB / 0.7393 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.812, allocations: 10.91 kB / 0.7393 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.812, allocations: 1.375 kB / 0.7393 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.8125, allocations: 366.4 kB / 0.7396 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.8127, allocations: 115.1 kB / 0.7397 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.8127, allocations: 6.703 kB / 0.7397 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.8129, allocations: 15.72 kB / 0.7398 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.813, allocations: 14.33 kB / 0.7398 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.813, allocations: 7.766 kB / 0.7398 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001824/0.8132, allocations: 180.9 kB / 0.7399 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8132, allocations: 0 / 0.7399 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004184/0.8136, allocations: 59.94 kB / 0.74 GB, free: 13.51 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.001247/0.8149, allocations: 0.948 MB / 0.7409 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.8154, allocations: 177.2 kB / 0.7411 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8154, allocations: 1.75 kB / 0.7411 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.8156, allocations: 100.5 kB / 0.7412 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.8164, allocations: 120 kB / 0.7413 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.819, allocations: 1.36 MB / 0.7426 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.8194, allocations: 0.7616 MB / 0.7434 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002762/0.8197, allocations: 65.2 kB / 0.7434 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.8198, allocations: 66.14 kB / 0.7435 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.8198, allocations: 0 / 0.7435 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.8398, allocations: 6.379 MB / 0.7497 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.8401, allocations: 232.7 kB / 0.75 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.742, allocations: 6.625 kB / 0.75 GB, free: 6.281 MB / 0.5606 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: