Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_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.006702/0.006702, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001556/0.001556, allocations: 196.9 kB / 16.67 MB, free: 5.926 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8049/0.8049, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63 kB / 0.5851 GB, free: 22.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1611, allocations: 80.92 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5054/0.6665, allocations: 154.4 MB / 0.8149 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04256/0.7091, allocations: 30.37 MB / 0.8446 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008277/0.7175, allocations: 140.2 kB / 0.8447 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.7214, allocations: 1.039 MB / 0.8457 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.7325, allocations: 3.165 MB / 0.8488 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006786/0.7393, allocations: 2.513 MB / 0.8513 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00798/0.7473, allocations: 5.392 MB / 0.8565 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.7508, allocations: 2.225 MB / 0.8587 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005904/0.7567, allocations: 2.747 MB / 0.8614 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.7604, allocations: 1.957 MB / 0.8633 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008591/0.7613, allocations: 212 kB / 0.8635 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.7644, allocations: 1.096 MB / 0.8646 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009529/0.7654, allocations: 0.5565 MB / 0.8651 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.7678, allocations: 1.275 MB / 0.8663 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.7733, allocations: 3.325 MB / 0.8696 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7733, allocations: 0 / 0.8696 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7734, allocations: 0 / 0.8696 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001298/0.7735, allocations: 0 / 0.8696 GB, free: 5.086 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.006776/0.7803, allocations: 2.792 MB / 0.8723 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.7803, allocations: 9.109 kB / 0.8723 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004054/0.7808, allocations: 177.4 kB / 0.8725 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.7816, allocations: 264.8 kB / 0.8728 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.7852, allocations: 1.523 MB / 0.8742 GB, free: 184 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.7853, allocations: 106.3 kB / 0.8743 GB, free: 76 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/0.7857, allocations: 136.1 kB / 0.8745 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.7881, allocations: 1.163 MB / 0.8756 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.7881, allocations: 0 / 0.8756 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.7882, allocations: 48 kB / 0.8757 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.7883, allocations: 28 kB / 0.8757 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.7903, allocations: 1.016 MB / 0.8767 GB, free: 13.65 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.01147/0.8018, allocations: 6.318 MB / 0.8828 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.8028, allocations: 0.5701 MB / 0.8834 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.8035, allocations: 382.4 kB / 0.8838 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/0.8039, allocations: 0.4992 MB / 0.8842 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.804, allocations: 43.12 kB / 0.8843 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00143/0.8054, allocations: 230.8 kB / 0.8845 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 6.182e-06/0.8054, allocations: 4 kB / 0.8845 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002465/0.8079, allocations: 1.164 MB / 0.8857 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.808, allocations: 59.97 kB / 0.8857 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.8109, allocations: 1.896 MB / 0.8876 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.8111, allocations: 45.7 kB / 0.8876 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.8119, allocations: 0.9223 MB / 0.8885 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.8121, allocations: 205 kB / 0.8887 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.8126, allocations: 302.6 kB / 0.889 GB, free: 376 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8128, allocations: 349.9 kB / 0.8893 GB, free: 20 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008599/0.8137, allocations: 461.8 kB / 0.8898 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.8147, allocations: 0.6879 MB / 0.8904 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.8164, allocations: 0.9813 MB / 0.8914 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.8164, allocations: 4 kB / 0.8914 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002759/0.8192, allocations: 1.428 MB / 0.8928 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.8192, allocations: 7.938 kB / 0.8928 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.8192, allocations: 4 kB / 0.8928 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.8193, allocations: 12.31 kB / 0.8928 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.8206, allocations: 295.5 kB / 0.8931 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/0.8206, allocations: 8 kB / 0.8931 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.8223, allocations: 91.7 kB / 0.8932 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.8225, allocations: 59.94 kB / 0.8932 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001429/0.8239, allocations: 0.7212 MB / 0.894 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001047/0.825, allocations: 0.6645 MB / 0.8946 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001538/0.8266, allocations: 0.9383 MB / 0.8955 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.304e-06/0.8266, allocations: 4 kB / 0.8955 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002684/0.8293, allocations: 1.377 MB / 0.8969 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8293, allocations: 4 kB / 0.8969 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8293, allocations: 4 kB / 0.8969 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.8293, allocations: 8 kB / 0.8969 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.8306, allocations: 287.5 kB / 0.8972 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.8306, allocations: 12.31 kB / 0.8972 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.8324, allocations: 91.91 kB / 0.8973 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.8325, allocations: 55.95 kB / 0.8973 GB, free: 7.574 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.0003535/0.8329, allocations: 248 kB / 0.8975 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/0.8335, allocations: 205.4 kB / 0.8977 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.8358, allocations: 1.084 MB / 0.8988 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.8358, allocations: 11.94 kB / 0.8988 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8358, allocations: 7.938 kB / 0.8988 GB, free: 6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8358, allocations: 3.984 kB / 0.8988 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/0.8403, allocations: 2.433 MB / 0.9012 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.8403, allocations: 4 kB / 0.9012 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.841, allocations: 135.8 kB / 0.9013 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.841, allocations: 4 kB / 0.9013 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.8411, allocations: 23.98 kB / 0.9014 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.8411, allocations: 4 kB / 0.9014 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8411, allocations: 4 kB / 0.9014 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.843, allocations: 1.074 MB / 0.9024 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008619/0.8439, allocations: 358.2 kB / 0.9028 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/0.8443, allocations: 16 kB / 0.9028 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.8453, allocations: 35.95 kB / 0.9028 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.8455, allocations: 56.47 kB / 0.9029 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.8456, allocations: 31.98 kB / 0.9029 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002204/0.8478, allocations: 1.248 MB / 0.9041 GB, free: 440 kB / 0.6544 GB Notification: Performance of sort global known variables: time 3e-07/0.8478, allocations: 0 / 0.9041 GB, free: 440 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003093/0.8509, allocations: 0.9044 MB / 0.905 GB, free: 15.52 MB / 0.67 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.002932/0.8538, allocations: 1.859 MB / 0.9068 GB, free: 13.64 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003441/0.8573, allocations: 1.661 MB / 0.9084 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.8573, allocations: 0 / 0.9084 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.858, allocations: 411.5 kB / 0.9088 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/0.8638, allocations: 1.079 MB / 0.9099 GB, free: 10.52 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/0.8895, allocations: 13.08 MB / 0.9226 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.8908, allocations: 1.405 MB / 0.924 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001833/0.8927, allocations: 394.2 kB / 0.9244 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.8939, allocations: 0.8389 MB / 0.9252 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/0.8939, allocations: 0 / 0.9252 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.9966, allocations: 57.08 MB / 0.981 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.17, allocations: 2.031 kB / 0.981 GB, free: 1.938 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)