Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001212/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001271/0.001271, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.189/1.189, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6766/0.6766, allocations: 132.2 MB / 422.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 60.22 kB / 0.5014 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3008, allocations: 80.21 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01491/0.3158, allocations: 15.47 MB / 0.5948 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005651/0.3215, allocations: 4.298 MB / 0.599 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.322, allocations: 14.31 kB / 0.599 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.3229, allocations: 228.6 kB / 0.5992 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.3243, allocations: 0.5614 MB / 0.5998 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.326, allocations: 0.6464 MB / 0.6004 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3272, allocations: 1.029 MB / 0.6014 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.3276, allocations: 336.5 kB / 0.6017 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.3283, allocations: 427.6 kB / 0.6021 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.3288, allocations: 334.5 kB / 0.6025 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.3288, allocations: 32.02 kB / 0.6025 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009349/0.3298, allocations: 0.6243 MB / 0.6031 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.3299, allocations: 101.6 kB / 0.6032 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.3301, allocations: 226.1 kB / 0.6034 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009431/0.3311, allocations: 0.7599 MB / 0.6042 GB, free: 3.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3311, allocations: 0 / 0.6042 GB, free: 3.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3311, allocations: 0 / 0.6042 GB, free: 3.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3311, allocations: 1.406 kB / 0.6042 GB, free: 3.375 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001146/0.3323, allocations: 0.8381 MB / 0.605 GB, free: 2.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3323, allocations: 10.91 kB / 0.605 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.3324, allocations: 56.7 kB / 0.605 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3325, allocations: 55.03 kB / 0.6051 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.3329, allocations: 414.5 kB / 0.6055 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.333, allocations: 28.22 kB / 0.6055 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.333, allocations: 26.34 kB / 0.6055 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.3334, allocations: 209.8 kB / 0.6057 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3334, allocations: 0 / 0.6057 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.3334, allocations: 6.188 kB / 0.6057 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3335, allocations: 5.75 kB / 0.6057 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.3338, allocations: 165.4 kB / 0.6059 GB, free: 1.969 MB / 446.1 MB 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.001325/0.3351, allocations: 0.9406 MB / 0.6068 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3354, allocations: 136 kB / 0.607 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3355, allocations: 72.25 kB / 0.607 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.3358, allocations: 340.7 kB / 0.6073 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3358, allocations: 31.97 kB / 0.6074 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.3358, allocations: 0 / 0.6074 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005482/0.3364, allocations: 241.5 kB / 0.6076 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.3364, allocations: 61.83 kB / 0.6077 GB, free: 444 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.3369, allocations: 473.8 kB / 0.6081 GB, free: 152 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3369, allocations: 36.02 kB / 0.6082 GB, free: 112 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3371, allocations: 233 kB / 0.6084 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3371, allocations: 41.86 kB / 0.6084 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.3372, allocations: 58.41 kB / 0.6085 GB, free: 15.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3373, allocations: 360.6 kB / 0.6088 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3375, allocations: 68.88 kB / 0.6089 GB, free: 15.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.3377, allocations: 152.3 kB / 0.609 GB, free: 15.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.338, allocations: 167.6 kB / 0.6092 GB, free: 15.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.338, allocations: 1.312 kB / 0.6092 GB, free: 15.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004595/0.3385, allocations: 256.4 kB / 0.6094 GB, free: 15.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3385, allocations: 5.75 kB / 0.6094 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3385, allocations: 0 / 0.6094 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3385, allocations: 2.719 kB / 0.6094 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.3388, allocations: 51.12 kB / 0.6095 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3388, allocations: 5.391 kB / 0.6095 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3391, allocations: 44.84 kB / 0.6095 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3391, allocations: 11.75 kB / 0.6095 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002467/0.3394, allocations: 187.8 kB / 0.6097 GB, free: 14.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002078/0.3396, allocations: 160.9 kB / 0.6099 GB, free: 14.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002966/0.3399, allocations: 170.8 kB / 0.61 GB, free: 14.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.3399, allocations: 1.125 kB / 0.61 GB, free: 14.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004493/0.3404, allocations: 257.9 kB / 0.6103 GB, free: 14.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.3404, allocations: 5.469 kB / 0.6103 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3404, allocations: 5.531 kB / 0.6103 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-06/0.3404, allocations: 2.5 kB / 0.6103 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3406, allocations: 54.47 kB / 0.6104 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.3406, allocations: 2.531 kB / 0.6104 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.3409, allocations: 39.45 kB / 0.6104 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3409, allocations: 11.36 kB / 0.6104 GB, free: 14.47 MB / 462.1 MB 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 (24): * Single equations (assignments): 24 * 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 9.99e-05/0.3411, allocations: 200.5 kB / 0.6106 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.3411, allocations: 42.84 kB / 0.6106 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.3416, allocations: 244.6 kB / 0.6109 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3416, allocations: 2.688 kB / 0.6109 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3416, allocations: 0 / 0.6109 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3416, allocations: 3.938 kB / 0.6109 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008454/0.3425, allocations: 0.7093 MB / 0.6116 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.3425, allocations: 1.125 kB / 0.6116 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3426, allocations: 34.59 kB / 0.6116 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3426, allocations: 6.25 kB / 0.6116 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3426, allocations: 6.25 kB / 0.6116 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3427, allocations: 2.844 kB / 0.6116 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3427, allocations: 1.312 kB / 0.6116 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.3431, allocations: 341.1 kB / 0.6119 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3432, allocations: 141 kB / 0.6121 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.3433, allocations: 6.281 kB / 0.6121 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.3435, allocations: 18.59 kB / 0.6121 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3435, allocations: 15.77 kB / 0.6121 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3436, allocations: 8.594 kB / 0.6121 GB, free: 13.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003298/0.3439, allocations: 337.1 kB / 0.6124 GB, free: 12.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3439, allocations: 0 / 0.6124 GB, free: 12.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000579/0.3445, allocations: 198.5 kB / 0.6126 GB, free: 12.83 MB / 462.1 MB 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001505/0.346, allocations: 1.258 MB / 0.6139 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.3466, allocations: 282.1 kB / 0.6141 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3466, allocations: 1.156 kB / 0.6141 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3468, allocations: 87.42 kB / 0.6142 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.3477, allocations: 199.6 kB / 0.6144 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.3517, allocations: 3.494 MB / 0.6178 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3521, allocations: 0.8301 MB / 0.6186 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.3523, allocations: 88.94 kB / 0.6187 GB, free: 8.359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3525, allocations: 140.2 kB / 0.6189 GB, free: 8.246 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3525, allocations: 0 / 0.6189 GB, free: 8.246 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4209/0.7734, allocations: 12.5 MB / 0.6311 GB, free: 12.8 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.7736, allocations: 243.6 kB / 0.6313 GB, free: 12.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.043, allocations: 0 / 0.6313 GB, free: 12.54 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)