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.00469/0.00469, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001269/0.001269, allocations: 198.7 kB / 16.68 MB, free: 5.977 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9503/0.9503, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 75.89 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3644, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1556/0.52, allocations: 154.4 MB / 0.8156 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04312/0.5632, allocations: 30.36 MB / 0.8453 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004886/0.5681, allocations: 139.2 kB / 0.8454 GB, free: 7.438 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.571, allocations: 1.047 MB / 0.8464 GB, free: 6.383 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008104/0.5791, allocations: 3.157 MB / 0.8495 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/0.5851, allocations: 2.516 MB / 0.852 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007343/0.5924, allocations: 5.396 MB / 0.8572 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.5955, allocations: 2.232 MB / 0.8594 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005417/0.601, allocations: 2.681 MB / 0.862 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.6045, allocations: 1.965 MB / 0.864 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004803/0.605, allocations: 212 kB / 0.8642 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.6074, allocations: 1.096 MB / 0.8652 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005746/0.608, allocations: 0.5565 MB / 0.8658 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.6096, allocations: 1.263 MB / 0.867 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3293/0.9389, allocations: 3.339 MB / 0.8703 GB, free: 50.8 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.939, allocations: 0 / 0.8703 GB, free: 50.8 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.939, allocations: 0 / 0.8703 GB, free: 50.8 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.778e-05/0.939, allocations: 1.281 kB / 0.8703 GB, free: 50.8 MB / 0.6856 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.004527/0.9436, allocations: 2.867 MB / 0.8731 GB, free: 49.46 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9436, allocations: 9.969 kB / 0.8731 GB, free: 49.46 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.9438, allocations: 181.1 kB / 0.8733 GB, free: 49.42 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000447/0.9443, allocations: 276.5 kB / 0.8735 GB, free: 49.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.9464, allocations: 1.521 MB / 0.875 GB, free: 48.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.9465, allocations: 106.6 kB / 0.8751 GB, free: 48.74 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.9467, allocations: 143 kB / 0.8752 GB, free: 48.74 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.9487, allocations: 1.161 MB / 0.8764 GB, free: 48.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.9487, allocations: 0 / 0.8764 GB, free: 48.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.9488, allocations: 47.06 kB / 0.8764 GB, free: 48.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.9489, allocations: 28.16 kB / 0.8764 GB, free: 48.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.9506, allocations: 1.018 MB / 0.8774 GB, free: 48.64 MB / 0.6856 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.009031/0.9597, allocations: 6.341 MB / 0.8836 GB, free: 46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.9606, allocations: 0.5681 MB / 0.8842 GB, free: 45.97 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.9612, allocations: 384.4 kB / 0.8846 GB, free: 45.96 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.9615, allocations: 0.5101 MB / 0.885 GB, free: 45.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.9615, allocations: 36.38 kB / 0.8851 GB, free: 45.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/0.9628, allocations: 240.3 kB / 0.8853 GB, free: 45.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=58): time 2.706e-06/0.9628, allocations: 1.531 kB / 0.8853 GB, free: 45.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58): time 0.001956/0.9647, allocations: 1.172 MB / 0.8865 GB, free: 45.14 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.9648, allocations: 58.53 kB / 0.8865 GB, free: 45.08 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.967, allocations: 1.898 MB / 0.8884 GB, free: 44.84 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/0.9671, allocations: 47.2 kB / 0.8884 GB, free: 44.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.9677, allocations: 0.9273 MB / 0.8893 GB, free: 44.53 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.9679, allocations: 216 kB / 0.8895 GB, free: 44.39 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.9683, allocations: 300.2 kB / 0.8898 GB, free: 44.37 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.9684, allocations: 359.6 kB / 0.8902 GB, free: 44.06 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007627/0.9691, allocations: 457.5 kB / 0.8906 GB, free: 44.05 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/0.9701, allocations: 0.6939 MB / 0.8913 GB, free: 43.83 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.9715, allocations: 0.9827 MB / 0.8922 GB, free: 43.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.9715, allocations: 1.125 kB / 0.8922 GB, free: 43.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002388/0.9739, allocations: 1.436 MB / 0.8936 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.974, allocations: 7.625 kB / 0.8936 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.974, allocations: 3 kB / 0.8936 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.974, allocations: 11.78 kB / 0.8937 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.9752, allocations: 290.2 kB / 0.8939 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.9753, allocations: 12.19 kB / 0.8939 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.9768, allocations: 87.22 kB / 0.894 GB, free: 43.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.977, allocations: 63.95 kB / 0.8941 GB, free: 43.53 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.9782, allocations: 0.7158 MB / 0.8948 GB, free: 43.45 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008712/0.9791, allocations: 0.6765 MB / 0.8954 GB, free: 43.22 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.9805, allocations: 0.9351 MB / 0.8964 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.147e-06/0.9805, allocations: 1.312 kB / 0.8964 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002233/0.9827, allocations: 1.388 MB / 0.8977 GB, free: 42.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.9827, allocations: 6.172 kB / 0.8977 GB, free: 42.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.9827, allocations: 4.125 kB / 0.8977 GB, free: 42.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.9828, allocations: 12.94 kB / 0.8977 GB, free: 42.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.9839, allocations: 284.2 kB / 0.898 GB, free: 42.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.9839, allocations: 11.61 kB / 0.898 GB, free: 42.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.9854, allocations: 91.41 kB / 0.8981 GB, free: 42.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.9855, allocations: 59.53 kB / 0.8982 GB, free: 42.9 MB / 0.6856 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.0002526/0.9858, allocations: 238 kB / 0.8984 GB, free: 42.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.9861, allocations: 216.1 kB / 0.8986 GB, free: 42.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.988, allocations: 1.101 MB / 0.8997 GB, free: 42.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.9881, allocations: 7.781 kB / 0.8997 GB, free: 42.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9881, allocations: 1.219 kB / 0.8997 GB, free: 42.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.9881, allocations: 2.25 kB / 0.8997 GB, free: 42.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.9911, allocations: 2.45 MB / 0.9021 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.9912, allocations: 2.875 kB / 0.9021 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.9917, allocations: 133.4 kB / 0.9022 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.9917, allocations: 9.062 kB / 0.9022 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.9918, allocations: 20.16 kB / 0.9022 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.9918, allocations: 11.02 kB / 0.9022 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9918, allocations: 2.25 kB / 0.9022 GB, free: 42.11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.993, allocations: 1.078 MB / 0.9033 GB, free: 41.79 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.9935, allocations: 369.9 kB / 0.9037 GB, free: 41.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.9937, allocations: 19.91 kB / 0.9037 GB, free: 41.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/0.9945, allocations: 43.39 kB / 0.9037 GB, free: 41.57 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.9946, allocations: 49.44 kB / 0.9038 GB, free: 41.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.9946, allocations: 21 kB / 0.9038 GB, free: 41.57 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00131/0.9959, allocations: 1.249 MB / 0.905 GB, free: 41.43 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.996, allocations: 0 / 0.905 GB, free: 41.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001775/0.9977, allocations: 0.9109 MB / 0.9059 GB, free: 41.31 MB / 0.6856 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.001881/0.9996, allocations: 1.872 MB / 0.9077 GB, free: 40.44 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002381/1.002, allocations: 1.646 MB / 0.9093 GB, free: 40.42 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.002, allocations: 7.188 kB / 0.9093 GB, free: 40.42 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005221/1.003, allocations: 412.2 kB / 0.9097 GB, free: 40.41 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/1.007, allocations: 1.092 MB / 0.9108 GB, free: 40.25 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.023, allocations: 13.17 MB / 0.9236 GB, free: 37.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/1.023, allocations: 1.4 MB / 0.925 GB, free: 36.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001573/1.025, allocations: 411.2 kB / 0.9254 GB, free: 36.23 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008716/1.026, allocations: 0.83 MB / 0.9262 GB, free: 36.23 MB / 0.6856 GB Notification: Performance of SimCode: time 6.72e-07/1.026, allocations: 0 / 0.9262 GB, free: 36.23 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/1.108, allocations: 56.1 MB / 0.981 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.73, allocations: 10.09 kB / 0.981 GB, free: 3.867 MB / 0.7012 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)