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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6957/0.6957, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.3 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.125, allocations: 80.2 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3242/0.4492, allocations: 154.4 MB / 0.7309 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03745/0.4867, allocations: 30.36 MB / 0.7606 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005075/0.4918, allocations: 143.1 kB / 0.7607 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.4948, allocations: 1.032 MB / 0.7617 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008005/0.5028, allocations: 3.17 MB / 0.7648 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005475/0.5083, allocations: 2.457 MB / 0.7672 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006271/0.5146, allocations: 5.379 MB / 0.7725 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.5175, allocations: 2.22 MB / 0.7747 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/0.5221, allocations: 2.692 MB / 0.7773 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.5248, allocations: 1.953 MB / 0.7792 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005084/0.5254, allocations: 212 kB / 0.7794 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.5276, allocations: 1.088 MB / 0.7805 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.5282, allocations: 0.5681 MB / 0.781 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.5299, allocations: 1.267 MB / 0.7823 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.533, allocations: 3.282 MB / 0.7855 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5331, allocations: 0 / 0.7855 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5331, allocations: 0 / 0.7855 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.5331, allocations: 0 / 0.7855 GB, free: 2.781 MB / 0.5919 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.004013/0.5371, allocations: 2.787 MB / 0.7882 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5372, allocations: 12.03 kB / 0.7882 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.5373, allocations: 173.4 kB / 0.7884 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.5377, allocations: 272.8 kB / 0.7886 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.5395, allocations: 1.434 MB / 0.79 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.5396, allocations: 102.3 kB / 0.7901 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.5398, allocations: 140 kB / 0.7902 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.5416, allocations: 1.163 MB / 0.7914 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5416, allocations: 0 / 0.7914 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.991e-05/0.5417, allocations: 52 kB / 0.7914 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.5418, allocations: 28 kB / 0.7915 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.5434, allocations: 1.013 MB / 0.7925 GB, free: 11.44 MB / 0.6075 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.008236/0.5517, allocations: 6.372 MB / 0.7987 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.5525, allocations: 0.5708 MB / 0.7992 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.5531, allocations: 382.4 kB / 0.7996 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.5534, allocations: 0.507 MB / 0.8001 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.5535, allocations: 39.06 kB / 0.8001 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001004/0.5545, allocations: 234.8 kB / 0.8004 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.5545, allocations: 0 / 0.8004 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.001908/0.5564, allocations: 1.16 MB / 0.8015 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.5564, allocations: 63.91 kB / 0.8015 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.5585, allocations: 1.896 MB / 0.8034 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.5586, allocations: 45.7 kB / 0.8034 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/0.5593, allocations: 0.9146 MB / 0.8043 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.5594, allocations: 209 kB / 0.8045 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.5598, allocations: 298.6 kB / 0.8048 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5599, allocations: 349.9 kB / 0.8052 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/0.5607, allocations: 465.8 kB / 0.8056 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/0.5616, allocations: 0.6894 MB / 0.8063 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5631, allocations: 0.9813 MB / 0.8072 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5631, allocations: 4 kB / 0.8072 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002265/0.5654, allocations: 1.432 MB / 0.8086 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5654, allocations: 4 kB / 0.8086 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.5654, allocations: 4 kB / 0.8086 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.5654, allocations: 11.94 kB / 0.8086 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.5667, allocations: 296.4 kB / 0.8089 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.5667, allocations: 11.98 kB / 0.8089 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5679, allocations: 88.05 kB / 0.809 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.568, allocations: 59.94 kB / 0.8091 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001097/0.5691, allocations: 0.7212 MB / 0.8098 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009351/0.5701, allocations: 0.6761 MB / 0.8104 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001382/0.5715, allocations: 0.9305 MB / 0.8114 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.5715, allocations: 4 kB / 0.8114 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002094/0.5736, allocations: 1.369 MB / 0.8127 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.5736, allocations: 8 kB / 0.8127 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5736, allocations: 4.938 kB / 0.8127 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.5736, allocations: 8 kB / 0.8127 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.5748, allocations: 287.5 kB / 0.813 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5748, allocations: 11.94 kB / 0.813 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.5761, allocations: 95.81 kB / 0.8131 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.5762, allocations: 55.95 kB / 0.8131 GB, free: 5.301 MB / 0.6231 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.0002177/0.5764, allocations: 247.9 kB / 0.8134 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.5767, allocations: 201.4 kB / 0.8136 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.5785, allocations: 1.092 MB / 0.8146 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5786, allocations: 11.94 kB / 0.8147 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5786, allocations: 0 / 0.8147 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5786, allocations: 7.984 kB / 0.8147 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.5817, allocations: 2.445 MB / 0.817 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5817, allocations: 0 / 0.817 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.5823, allocations: 131.8 kB / 0.8172 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5823, allocations: 4 kB / 0.8172 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.5823, allocations: 24.17 kB / 0.8172 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.5823, allocations: 8 kB / 0.8172 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5823, allocations: 4 kB / 0.8172 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.5837, allocations: 1.066 MB / 0.8183 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.5841, allocations: 366.3 kB / 0.8186 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.5844, allocations: 19.98 kB / 0.8186 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/0.5851, allocations: 31.97 kB / 0.8187 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5852, allocations: 56.58 kB / 0.8187 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.5853, allocations: 23.94 kB / 0.8187 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001452/0.5868, allocations: 1.256 MB / 0.82 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5868, allocations: 0 / 0.82 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001698/0.5885, allocations: 0.9044 MB / 0.8208 GB, free: 13.25 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.002074/0.5905, allocations: 1.851 MB / 0.8226 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002819/0.5934, allocations: 1.7 MB / 0.8243 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5934, allocations: 0 / 0.8243 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.594, allocations: 416.8 kB / 0.8247 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/0.5982, allocations: 1.093 MB / 0.8258 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.6157, allocations: 15.13 MB / 0.8405 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.6166, allocations: 1.413 MB / 0.8419 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00165/0.6182, allocations: 401.6 kB / 0.8423 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009388/0.6192, allocations: 0.834 MB / 0.8431 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of SimCode: time 6.92e-07/0.6192, allocations: 4 kB / 0.8431 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9139/1.533, allocations: 55.59 MB / 0.8974 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/11.54, allocations: 11.72 kB / 0.8974 GB, free: 197.6 MB / 0.6544 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)