Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.005199/0.005199, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001369/0.001369, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9425/0.9425, allocations: 135.5 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.89 kB / 0.5858 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.357, allocations: 81.02 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01763/0.3747, allocations: 17.44 MB / 0.6819 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007494/0.3822, allocations: 4.927 MB / 0.6867 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.3829, allocations: 17.41 kB / 0.6867 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.3838, allocations: 246.2 kB / 0.687 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.3853, allocations: 0.6226 MB / 0.6876 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3873, allocations: 0.7321 MB / 0.6883 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.3887, allocations: 0.967 MB / 0.6892 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.3892, allocations: 336.2 kB / 0.6896 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006813/0.3899, allocations: 416.9 kB / 0.69 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.3903, allocations: 313.8 kB / 0.6903 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.3904, allocations: 28.97 kB / 0.6903 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.3917, allocations: 0.7295 MB / 0.691 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.3919, allocations: 128.7 kB / 0.6911 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3921, allocations: 249.8 kB / 0.6914 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.3935, allocations: 0.8817 MB / 0.6922 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3935, allocations: 0 / 0.6922 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3935, allocations: 4 kB / 0.6922 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.3936, allocations: 1.219 kB / 0.6922 GB, free: 1.262 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001375/0.3949, allocations: 0.9056 MB / 0.6931 GB, free: 496 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.395, allocations: 10.66 kB / 0.6931 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.3951, allocations: 62.34 kB / 0.6932 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.3952, allocations: 62.94 kB / 0.6932 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.3959, allocations: 465.9 kB / 0.6937 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.396, allocations: 25.3 kB / 0.6937 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.396, allocations: 28.03 kB / 0.6937 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.3966, allocations: 289.6 kB / 0.694 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3966, allocations: 0 / 0.694 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.3966, allocations: 10.06 kB / 0.694 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3966, allocations: 7.156 kB / 0.694 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.397, allocations: 189.2 kB / 0.6942 GB, free: 15.68 MB / 0.5294 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.001935/0.399, allocations: 1.493 MB / 0.6957 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.3993, allocations: 156.8 kB / 0.6958 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.3995, allocations: 86.59 kB / 0.6959 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.4012, allocations: 1.275 MB / 0.6971 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4012, allocations: 38.56 kB / 0.6972 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.4012, allocations: 0 / 0.6972 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006552/0.4019, allocations: 258 kB / 0.6974 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4019, allocations: 54.16 kB / 0.6975 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006645/0.4026, allocations: 0.5765 MB / 0.698 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.4026, allocations: 36.33 kB / 0.6981 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.4029, allocations: 273.2 kB / 0.6983 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.4029, allocations: 59.3 kB / 0.6984 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.403, allocations: 70.16 kB / 0.6985 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4032, allocations: 359.4 kB / 0.6988 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.4034, allocations: 77.16 kB / 0.6989 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.4037, allocations: 213.2 kB / 0.6991 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.4042, allocations: 240.4 kB / 0.6993 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4042, allocations: 5.312 kB / 0.6993 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006364/0.4048, allocations: 312.2 kB / 0.6996 GB, free: 11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4049, allocations: 10.03 kB / 0.6996 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4049, allocations: 6.906 kB / 0.6996 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4049, allocations: 5.25 kB / 0.6996 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.4052, allocations: 62.5 kB / 0.6997 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4052, allocations: 3.875 kB / 0.6997 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.4055, allocations: 48.67 kB / 0.6997 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.4056, allocations: 14.44 kB / 0.6997 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003211/0.4059, allocations: 213.9 kB / 0.7 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003077/0.4062, allocations: 214.7 kB / 0.7002 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004121/0.4066, allocations: 227.3 kB / 0.7004 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.4067, allocations: 1.094 kB / 0.7004 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005895/0.4073, allocations: 312.5 kB / 0.7007 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.4073, allocations: 6.906 kB / 0.7007 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4073, allocations: 6.438 kB / 0.7007 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.4073, allocations: 4.125 kB / 0.7007 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4075, allocations: 63.53 kB / 0.7008 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.4075, allocations: 8.234 kB / 0.7008 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.4079, allocations: 35.27 kB / 0.7008 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.4079, allocations: 19.3 kB / 0.7008 GB, free: 10.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001481/0.4081, allocations: 209.1 kB / 0.701 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.4082, allocations: 52.55 kB / 0.7011 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.4088, allocations: 253.8 kB / 0.7013 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4088, allocations: 1.344 kB / 0.7013 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4088, allocations: 1.031 kB / 0.7013 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4088, allocations: 0 / 0.7013 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4099, allocations: 0.7294 MB / 0.702 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4099, allocations: 2.188 kB / 0.702 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.41, allocations: 34.95 kB / 0.7021 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4101, allocations: 6.484 kB / 0.7021 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4101, allocations: 2.812 kB / 0.7021 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4101, allocations: 6.719 kB / 0.7021 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4101, allocations: 9.406 kB / 0.7021 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.4106, allocations: 348.4 kB / 0.7024 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4108, allocations: 156.2 kB / 0.7026 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.4109, allocations: 6.75 kB / 0.7026 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.4111, allocations: 13.48 kB / 0.7026 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4111, allocations: 19.55 kB / 0.7026 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4111, allocations: 5.219 kB / 0.7026 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004872/0.4116, allocations: 420.2 kB / 0.703 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4116, allocations: 0 / 0.703 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007591/0.4124, allocations: 231.3 kB / 0.7032 GB, free: 8.492 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00229/0.4147, allocations: 1.273 MB / 0.7045 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007441/0.4155, allocations: 325.1 kB / 0.7048 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4155, allocations: 4.938 kB / 0.7048 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.4157, allocations: 100 kB / 0.7049 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.4169, allocations: 257.9 kB / 0.7051 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.4223, allocations: 3.95 MB / 0.709 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.4228, allocations: 0.8467 MB / 0.7098 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.4231, allocations: 96.31 kB / 0.7099 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.4233, allocations: 167.4 kB / 0.7101 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.4234, allocations: 0 / 0.7101 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.4638, allocations: 15.04 MB / 0.7247 GB, free: 2.883 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/8.975, allocations: 8.656 kB / 0.7248 GB, free: 2.875 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)