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.004235/0.004235, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001021/0.001021, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7296/0.7296, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 66.97 kB / 0.5809 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4598/0.5998, allocations: 154.4 MB / 0.8099 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03493/0.6348, allocations: 30.37 MB / 0.8396 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006725/0.6416, allocations: 137.3 kB / 0.8397 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.6447, allocations: 1.047 MB / 0.8407 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00857/0.6533, allocations: 3.162 MB / 0.8438 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005604/0.6589, allocations: 2.508 MB / 0.8463 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00691/0.6658, allocations: 5.397 MB / 0.8516 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003326/0.6691, allocations: 2.221 MB / 0.8537 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005385/0.6745, allocations: 2.747 MB / 0.8564 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.6779, allocations: 1.961 MB / 0.8583 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006648/0.6786, allocations: 212 kB / 0.8585 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.6814, allocations: 1.092 MB / 0.8596 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008447/0.6823, allocations: 0.5526 MB / 0.8601 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.6845, allocations: 1.271 MB / 0.8614 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.6894, allocations: 3.333 MB / 0.8646 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6894, allocations: 0 / 0.8646 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6894, allocations: 3.938 kB / 0.8646 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001166/0.6895, allocations: 0 / 0.8646 GB, free: 12.95 MB / 0.6231 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.005887/0.6954, allocations: 2.785 MB / 0.8674 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6955, allocations: 11.97 kB / 0.8674 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003264/0.6958, allocations: 177.4 kB / 0.8675 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.6964, allocations: 264.8 kB / 0.8678 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.6992, allocations: 1.516 MB / 0.8693 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.6992, allocations: 102.3 kB / 0.8694 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.6995, allocations: 136 kB / 0.8695 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.7016, allocations: 1.167 MB / 0.8706 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7016, allocations: 0 / 0.8706 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7017, allocations: 44 kB / 0.8707 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.7017, allocations: 28 kB / 0.8707 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.7035, allocations: 1.013 MB / 0.8717 GB, free: 5.531 MB / 0.6231 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.01005/0.7136, allocations: 6.326 MB / 0.8779 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.7145, allocations: 0.5748 MB / 0.8784 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.7151, allocations: 382.4 kB / 0.8788 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/0.7155, allocations: 0.507 MB / 0.8793 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.7155, allocations: 39.12 kB / 0.8793 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001238/0.7167, allocations: 234.8 kB / 0.8795 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 3.978e-06/0.7168, allocations: 0 / 0.8795 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002163/0.7189, allocations: 1.172 MB / 0.8807 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.719, allocations: 59.97 kB / 0.8808 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.7216, allocations: 1.888 MB / 0.8826 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.7217, allocations: 45.7 kB / 0.8826 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007891/0.7225, allocations: 0.9185 MB / 0.8835 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.7227, allocations: 201 kB / 0.8837 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.7231, allocations: 302.5 kB / 0.884 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7233, allocations: 357.9 kB / 0.8844 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/0.724, allocations: 457.9 kB / 0.8848 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.725, allocations: 0.6887 MB / 0.8855 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.7266, allocations: 0.9813 MB / 0.8864 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.7266, allocations: 4 kB / 0.8864 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002533/0.7292, allocations: 1.424 MB / 0.8878 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.7292, allocations: 7.984 kB / 0.8878 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.7292, allocations: 4 kB / 0.8878 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.7292, allocations: 11.94 kB / 0.8878 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.7305, allocations: 287.9 kB / 0.8881 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.7305, allocations: 12 kB / 0.8881 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.732, allocations: 87.77 kB / 0.8882 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.7321, allocations: 59.94 kB / 0.8883 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001243/0.7334, allocations: 0.7212 MB / 0.889 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009501/0.7343, allocations: 0.6761 MB / 0.8896 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001371/0.7357, allocations: 0.9305 MB / 0.8905 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.112e-06/0.7357, allocations: 4 kB / 0.8905 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002322/0.738, allocations: 1.385 MB / 0.8919 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.7381, allocations: 4 kB / 0.8919 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7381, allocations: 4 kB / 0.8919 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.7381, allocations: 8 kB / 0.8919 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.7393, allocations: 283.6 kB / 0.8922 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.7393, allocations: 11.94 kB / 0.8922 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.7407, allocations: 96.03 kB / 0.8923 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.7408, allocations: 63.92 kB / 0.8923 GB, free: 15.43 MB / 0.6544 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.0002753/0.7411, allocations: 244 kB / 0.8926 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.7415, allocations: 201.4 kB / 0.8928 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.7434, allocations: 1.086 MB / 0.8938 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.7435, allocations: 15.94 kB / 0.8938 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7435, allocations: 4 kB / 0.8939 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.7435, allocations: 3.984 kB / 0.8939 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.747, allocations: 2.441 MB / 0.8962 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.747, allocations: 3.938 kB / 0.8962 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.7476, allocations: 135.9 kB / 0.8964 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.7476, allocations: 8 kB / 0.8964 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.7477, allocations: 23.92 kB / 0.8964 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.7477, allocations: 4 kB / 0.8964 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7477, allocations: 7.938 kB / 0.8964 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.7491, allocations: 1.074 MB / 0.8975 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/0.7497, allocations: 354.3 kB / 0.8978 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.75, allocations: 20 kB / 0.8978 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.7508, allocations: 31.95 kB / 0.8979 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.7509, allocations: 60.47 kB / 0.8979 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.7509, allocations: 23.98 kB / 0.8979 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001636/0.7526, allocations: 1.248 MB / 0.8992 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7526, allocations: 4 kB / 0.8992 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001991/0.7546, allocations: 0.9082 MB / 0.9 GB, free: 7.371 MB / 0.6544 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.002321/0.7569, allocations: 1.851 MB / 0.9018 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.7596, allocations: 1.65 MB / 0.9035 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7596, allocations: 4.125 kB / 0.9035 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.7602, allocations: 411.5 kB / 0.9039 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/0.7642, allocations: 1.072 MB / 0.9049 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.7833, allocations: 13.09 MB / 0.9177 GB, free: 4.996 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.7845, allocations: 1.405 MB / 0.9191 GB, free: 3.555 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0017/0.7862, allocations: 404.6 kB / 0.9194 GB, free: 3.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.7874, allocations: 0.8312 MB / 0.9203 GB, free: 2.328 MB / 0.67 GB Notification: Performance of SimCode: time 1.153e-06/0.7874, allocations: 0 / 0.9203 GB, free: 2.328 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09606/0.8834, allocations: 57.08 MB / 0.976 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.98, allocations: 16.17 kB / 0.976 GB, free: 9.77 MB / 0.7325 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)