Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.005875/0.005875, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001414/0.001415, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7805/0.7805, allocations: 132.2 MB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 68.53 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1647, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1566/0.3214, allocations: 154.4 MB / 0.81 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4019/0.7234, allocations: 30.36 MB / 0.8396 GB, free: 40.67 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006114/0.7295, allocations: 139.4 kB / 0.8397 GB, free: 40.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.7326, allocations: 1.035 MB / 0.8407 GB, free: 40.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009971/0.7426, allocations: 3.16 MB / 0.8438 GB, free: 40.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006789/0.7494, allocations: 2.514 MB / 0.8463 GB, free: 40.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008231/0.7576, allocations: 5.385 MB / 0.8515 GB, free: 40.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003323/0.761, allocations: 2.242 MB / 0.8537 GB, free: 40.13 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006032/0.7671, allocations: 2.697 MB / 0.8564 GB, free: 39.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/0.7709, allocations: 1.963 MB / 0.8583 GB, free: 39.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008071/0.7717, allocations: 212.7 kB / 0.8585 GB, free: 39.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.775, allocations: 1.086 MB / 0.8595 GB, free: 39.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005328/0.7756, allocations: 0.555 MB / 0.8601 GB, free: 39.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.7772, allocations: 1.268 MB / 0.8613 GB, free: 39.08 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003716/0.781, allocations: 3.34 MB / 0.8646 GB, free: 37.91 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.781, allocations: 0 / 0.8646 GB, free: 37.91 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.743e-06/0.781, allocations: 0 / 0.8646 GB, free: 37.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.78e-05/0.781, allocations: 0 / 0.8646 GB, free: 37.91 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00405/0.7851, allocations: 2.87 MB / 0.8674 GB, free: 36.22 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.7851, allocations: 10.81 kB / 0.8674 GB, free: 36.22 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.7853, allocations: 176.2 kB / 0.8676 GB, free: 36.1 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.7857, allocations: 275.3 kB / 0.8678 GB, free: 35.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.7876, allocations: 1.532 MB / 0.8693 GB, free: 35.13 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.7877, allocations: 105.1 kB / 0.8694 GB, free: 35.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.7879, allocations: 136.2 kB / 0.8696 GB, free: 35.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.7895, allocations: 1.168 MB / 0.8707 GB, free: 34.42 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.7896, allocations: 0 / 0.8707 GB, free: 34.42 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.7897, allocations: 50.84 kB / 0.8707 GB, free: 34.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.7897, allocations: 27.09 kB / 0.8708 GB, free: 34.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.7912, allocations: 1.012 MB / 0.8718 GB, free: 33.87 MB / 0.6387 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.007358/0.7985, allocations: 6.334 MB / 0.8779 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.7993, allocations: 0.5659 MB / 0.8785 GB, free: 28.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.7998, allocations: 390.3 kB / 0.8789 GB, free: 28.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.8001, allocations: 0.5081 MB / 0.8794 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.8001, allocations: 42.12 kB / 0.8794 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001231/0.8014, allocations: 239.3 kB / 0.8796 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 3.768e-06/0.8014, allocations: 3.984 kB / 0.8796 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.001814/0.8032, allocations: 1.171 MB / 0.8808 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.8032, allocations: 63.28 kB / 0.8808 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.805, allocations: 1.896 MB / 0.8827 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.8051, allocations: 50.11 kB / 0.8827 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/0.8056, allocations: 0.9227 MB / 0.8836 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.8057, allocations: 219.1 kB / 0.8839 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.8061, allocations: 302.8 kB / 0.8841 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.8061, allocations: 351.2 kB / 0.8845 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.8068, allocations: 453.2 kB / 0.8849 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/0.8076, allocations: 0.6944 MB / 0.8856 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.8089, allocations: 0.9796 MB / 0.8865 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.8089, allocations: 3.938 kB / 0.8865 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002024/0.8109, allocations: 1.443 MB / 0.888 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.811, allocations: 5.656 kB / 0.888 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.811, allocations: 5.594 kB / 0.888 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.811, allocations: 7.5 kB / 0.888 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.8121, allocations: 293.4 kB / 0.8883 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.8122, allocations: 10.7 kB / 0.8883 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.8135, allocations: 87.66 kB / 0.8883 GB, free: 22.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8136, allocations: 63.17 kB / 0.8884 GB, free: 22.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009991/0.8146, allocations: 0.7177 MB / 0.8891 GB, free: 21.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007153/0.8153, allocations: 0.6751 MB / 0.8898 GB, free: 20.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001105/0.8165, allocations: 0.9282 MB / 0.8907 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.8165, allocations: 4 kB / 0.8907 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001772/0.8182, allocations: 1.387 MB / 0.892 GB, free: 18.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.8183, allocations: 8 kB / 0.892 GB, free: 18.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8183, allocations: 8.375 kB / 0.892 GB, free: 18.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/0.8183, allocations: 12 kB / 0.8921 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.8193, allocations: 276.9 kB / 0.8923 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.8193, allocations: 18.69 kB / 0.8923 GB, free: 17.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.8207, allocations: 95.91 kB / 0.8924 GB, free: 17.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.8208, allocations: 59.95 kB / 0.8925 GB, free: 17.78 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0002524/0.821, allocations: 239.7 kB / 0.8927 GB, free: 17.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.8212, allocations: 210.6 kB / 0.8929 GB, free: 17.35 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.8229, allocations: 1.095 MB / 0.894 GB, free: 16.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.8229, allocations: 11.94 kB / 0.894 GB, free: 16.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8229, allocations: 0 / 0.894 GB, free: 16.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.823, allocations: 3.984 kB / 0.894 GB, free: 16.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.8257, allocations: 2.447 MB / 0.8964 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8257, allocations: 4 kB / 0.8964 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.8262, allocations: 130.7 kB / 0.8965 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8262, allocations: 8.188 kB / 0.8965 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.8263, allocations: 19.98 kB / 0.8965 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.8263, allocations: 7.094 kB / 0.8966 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8263, allocations: 0 / 0.8966 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.8274, allocations: 1.086 MB / 0.8976 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.8278, allocations: 367.5 kB / 0.898 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.828, allocations: 19.98 kB / 0.898 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.8287, allocations: 35.97 kB / 0.898 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.8288, allocations: 56.52 kB / 0.8981 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.8289, allocations: 27.94 kB / 0.8981 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001193/0.8301, allocations: 1.248 MB / 0.8993 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8301, allocations: 0 / 0.8993 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00164/0.8317, allocations: 0.9124 MB / 0.9002 GB, free: 9.816 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001796/0.8335, allocations: 1.868 MB / 0.902 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.8358, allocations: 1.65 MB / 0.9036 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8358, allocations: 1.5 kB / 0.9036 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.8363, allocations: 411.7 kB / 0.904 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/0.8402, allocations: 1.097 MB / 0.9051 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.858, allocations: 13.16 MB / 0.918 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.8592, allocations: 1.401 MB / 0.9193 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001711/0.8609, allocations: 408.5 kB / 0.9197 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.862, allocations: 0.8273 MB / 0.9205 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.862, allocations: 0 / 0.9205 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/0.9788, allocations: 56.09 MB / 0.9753 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.51, allocations: 21 kB / 0.9753 GB, free: 13.8 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)