Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.001533/0.001533, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7299/0.7299, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.3 MB / 400.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009102/0.0009101, allocations: 89.36 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.265e-05, allocations: 3.781 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.169, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.493, allocations: 358.8 MB / 0.9909 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.493, allocations: 92.83 kB / 0.991 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.312/2.805, allocations: 417.6 MB / 1.399 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.103e-06/2.805, allocations: 0 / 1.399 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000113/2.805, allocations: 20 kB / 1.399 GB, free: 112.2 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002781/2.808, allocations: 1.059 MB / 1.4 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/2.808, allocations: 8.031 kB / 1.4 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/2.808, allocations: 92.92 kB / 1.4 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/2.809, allocations: 99.22 kB / 1.4 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/2.81, allocations: 0.5734 MB / 1.401 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/2.81, allocations: 41 kB / 1.401 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/2.81, allocations: 59.94 kB / 1.401 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/2.811, allocations: 377.6 kB / 1.401 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/2.811, allocations: 3.938 kB / 1.401 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/2.811, allocations: 16 kB / 1.401 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/2.811, allocations: 12 kB / 1.401 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/2.812, allocations: 263.9 kB / 1.401 GB, free: 109.6 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.00319/2.815, allocations: 1.856 MB / 1.403 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/2.815, allocations: 153.3 kB / 1.403 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/2.815, allocations: 76.73 kB / 1.403 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/2.815, allocations: 336.4 kB / 1.404 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/2.815, allocations: 38.56 kB / 1.404 GB, free: 107 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/2.815, allocations: 0 / 1.404 GB, free: 107 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0004597/2.816, allocations: 216 kB / 1.404 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/2.816, allocations: 51.41 kB / 1.404 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/2.817, allocations: 0.5937 MB / 1.405 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/2.817, allocations: 33.7 kB / 1.405 GB, free: 106 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/2.817, allocations: 363.3 kB / 1.405 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/2.817, allocations: 66.3 kB / 1.405 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/2.817, allocations: 8 kB / 1.405 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001011/2.817, allocations: 382.1 kB / 1.405 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/2.817, allocations: 80.75 kB / 1.405 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/2.817, allocations: 200.7 kB / 1.406 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/2.818, allocations: 109.5 kB / 1.406 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.818, allocations: 0 / 1.406 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005055/2.818, allocations: 354.5 kB / 1.406 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.118e-05/2.818, allocations: 282 kB / 1.406 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/2.818, allocations: 4 kB / 1.406 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/2.818, allocations: 2.938 kB / 1.406 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/2.819, allocations: 131.6 kB / 1.407 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009128/2.82, allocations: 2.369 MB / 1.409 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/2.821, allocations: 90.62 kB / 1.409 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/2.821, allocations: 18.95 kB / 1.409 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/2.821, allocations: 4 kB / 1.409 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003734/2.821, allocations: 251.8 kB / 1.409 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/2.821, allocations: 0 / 1.409 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/2.821, allocations: 4 kB / 1.409 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/2.822, allocations: 99.81 kB / 1.409 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/2.822, allocations: 7.219 kB / 1.409 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/2.822, allocations: 86.98 kB / 1.409 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/2.822, allocations: 16 kB / 1.409 GB, free: 101 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/2.822, allocations: 125.7 kB / 1.409 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/2.822, allocations: 70.06 kB / 1.41 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/2.823, allocations: 285.1 kB / 1.41 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/2.823, allocations: 6.531 kB / 1.41 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.823, allocations: 0 / 1.41 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/2.823, allocations: 3.984 kB / 1.41 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/2.824, allocations: 0.8711 MB / 1.411 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.824, allocations: 0 / 1.411 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/2.824, allocations: 71.83 kB / 1.411 GB, free: 99.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/2.824, allocations: 4 kB / 1.411 GB, free: 99.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/2.824, allocations: 8 kB / 1.411 GB, free: 99.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006472/2.825, allocations: 2.354 MB / 1.413 GB, free: 97.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.825, allocations: 3.984 kB / 1.413 GB, free: 97.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/2.825, allocations: 423.3 kB / 1.413 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/2.826, allocations: 176 kB / 1.414 GB, free: 96.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/2.826, allocations: 7.938 kB / 1.414 GB, free: 96.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/2.826, allocations: 48.97 kB / 1.414 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/2.826, allocations: 23.91 kB / 1.414 GB, free: 96.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/2.826, allocations: 8 kB / 1.414 GB, free: 96.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004718/2.827, allocations: 470.2 kB / 1.414 GB, free: 95.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/2.827, allocations: 0 / 1.414 GB, free: 95.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001029/2.828, allocations: 383.4 kB / 1.415 GB, free: 95.52 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001296/2.829, allocations: 1.582 MB / 1.416 GB, free: 94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001087/2.83, allocations: 436.3 kB / 1.417 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/2.83, allocations: 0 / 1.417 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/2.831, allocations: 130.8 kB / 1.417 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/2.832, allocations: 368.4 kB / 1.417 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/2.834, allocations: 0.9153 MB / 1.418 GB, free: 92.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/2.834, allocations: 0.9516 MB / 1.419 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006975/2.835, allocations: 153.7 kB / 1.419 GB, free: 91.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/2.835, allocations: 243.3 kB / 1.419 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/2.835, allocations: 0 / 1.419 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/2.879, allocations: 23.68 MB / 1.442 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/2.88, allocations: 234.3 kB / 1.443 GB, free: 67.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/5.821, allocations: 0 / 1.443 GB, free: 67.39 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)