Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.00113/0.00113, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001618/0.001618, allocations: 177.3 kB / 15.94 MB, free: 228 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.51/1.51, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.084/1.084, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 15.98 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.5253/0.7835, allocations: 25.81 MB / 0.6125 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.8022, allocations: 9.272 MB / 0.6215 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.8047, allocations: 19.59 kB / 0.6216 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.8063, allocations: 342.5 kB / 0.6219 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.8109, allocations: 1.143 MB / 0.623 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.814, allocations: 0.9158 MB / 0.6239 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00266/0.8166, allocations: 1.232 MB / 0.6251 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.8175, allocations: 0.5329 MB / 0.6256 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.8197, allocations: 0.7819 MB / 0.6264 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008884/0.8206, allocations: 466.3 kB / 0.6268 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.506e-05/0.8207, allocations: 28.16 kB / 0.6269 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.8219, allocations: 389.5 kB / 0.6272 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.8221, allocations: 132.2 kB / 0.6274 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.8223, allocations: 178.1 kB / 0.6275 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.8232, allocations: 0.7096 MB / 0.6282 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.8232, allocations: 0 / 0.6282 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.594e-06/0.8232, allocations: 0 / 0.6282 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.8232, allocations: 0 / 0.6282 GB, free: 31.76 MB / 0.4981 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.00172/0.825, allocations: 1.014 MB / 0.6292 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.825, allocations: 9.469 kB / 0.6292 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.83e-05/0.8251, allocations: 83.25 kB / 0.6293 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.8253, allocations: 98.36 kB / 0.6294 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.8261, allocations: 0.5421 MB / 0.6299 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.8261, allocations: 45.62 kB / 0.63 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.8262, allocations: 50.72 kB / 0.63 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.8269, allocations: 412 kB / 0.6304 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.8269, allocations: 0 / 0.6304 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.827, allocations: 18.91 kB / 0.6304 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.827, allocations: 12.75 kB / 0.6304 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.8276, allocations: 307.8 kB / 0.6307 GB, free: 30.23 MB / 0.4981 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.003211/0.8308, allocations: 1.858 MB / 0.6325 GB, free: 29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.8314, allocations: 165.6 kB / 0.6327 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/0.8318, allocations: 341.1 kB / 0.633 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.8319, allocations: 51.91 kB / 0.6331 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.775e-06/0.8319, allocations: 0 / 0.6331 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.000805/0.8327, allocations: 318.2 kB / 0.6334 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.8328, allocations: 58.61 kB / 0.6334 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.8335, allocations: 0.6739 MB / 0.6341 GB, free: 28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.8336, allocations: 36.89 kB / 0.6341 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.8338, allocations: 368.9 kB / 0.6345 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.8339, allocations: 62.22 kB / 0.6345 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.8339, allocations: 6.812 kB / 0.6345 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.834, allocations: 375.9 kB / 0.6349 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.8343, allocations: 106.7 kB / 0.635 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.8346, allocations: 179.8 kB / 0.6352 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.8348, allocations: 123.8 kB / 0.6353 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8349, allocations: 0 / 0.6353 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000687/0.8355, allocations: 392.6 kB / 0.6357 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.8357, allocations: 278.8 kB / 0.6359 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.8357, allocations: 4 kB / 0.6359 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.8357, allocations: 2.938 kB / 0.6359 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.8367, allocations: 163.1 kB / 0.6361 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.8379, allocations: 2.372 MB / 0.6384 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.8385, allocations: 81.48 kB / 0.6385 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.8386, allocations: 15.78 kB / 0.6385 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.8386, allocations: 5.875 kB / 0.6385 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005265/0.8391, allocations: 286 kB / 0.6388 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.8391, allocations: 11.31 kB / 0.6388 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.8391, allocations: 3.094 kB / 0.6388 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.8395, allocations: 102.1 kB / 0.6389 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8396, allocations: 0 / 0.6389 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.84, allocations: 89.97 kB / 0.639 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.8401, allocations: 14.97 kB / 0.639 GB, free: 24.09 MB / 0.4981 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 (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.0002997/0.8404, allocations: 269 kB / 0.6392 GB, free: 23.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.8405, allocations: 70.91 kB / 0.6393 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.8412, allocations: 321.6 kB / 0.6396 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8412, allocations: 2.688 kB / 0.6396 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8413, allocations: 3.938 kB / 0.6396 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.8413, allocations: 3.328 kB / 0.6396 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.8426, allocations: 0.8986 MB / 0.6405 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.8426, allocations: 0 / 0.6405 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.8429, allocations: 82.16 kB / 0.6406 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.8429, allocations: 3.031 kB / 0.6406 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.843, allocations: 6.625 kB / 0.6406 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007262/0.8437, allocations: 2.359 MB / 0.6429 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8437, allocations: 2.969 kB / 0.6429 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.8442, allocations: 460.7 kB / 0.6433 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.8444, allocations: 178.2 kB / 0.6435 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.8445, allocations: 7.156 kB / 0.6435 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.8449, allocations: 59.28 kB / 0.6436 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.8449, allocations: 12.42 kB / 0.6436 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.845, allocations: 10.09 kB / 0.6436 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004983/0.8455, allocations: 467.5 kB / 0.644 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8455, allocations: 2.906 kB / 0.644 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008927/0.8464, allocations: 348.4 kB / 0.6444 GB, free: 19.96 MB / 0.4981 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 (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.001366/0.8477, allocations: 1.394 MB / 0.6457 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.8499, allocations: 0.5017 MB / 0.6462 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8499, allocations: 0 / 0.6462 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.8505, allocations: 142.5 kB / 0.6464 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.8529, allocations: 376.5 kB / 0.6467 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.8559, allocations: 2.02 MB / 0.6487 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.8564, allocations: 0.9549 MB / 0.6496 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006153/0.857, allocations: 114.7 kB / 0.6497 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.8573, allocations: 256 kB / 0.65 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.8573, allocations: 0 / 0.65 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/0.9147, allocations: 18.02 MB / 0.6676 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.915, allocations: 259.8 kB / 0.6678 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.248, allocations: 5 kB / 0.6678 GB, free: 14.14 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: