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.005834/0.005834, allocations: 106.8 kB / 15.74 MB, free: 6.441 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.001196/0.001196, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.921/0.921, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 63.91 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4186, allocations: 80.92 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1447/0.5634, allocations: 154.4 MB / 0.8149 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04782/0.6113, allocations: 30.36 MB / 0.8446 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008293/0.6196, allocations: 139.2 kB / 0.8447 GB, free: 8.168 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.6231, allocations: 1.059 MB / 0.8457 GB, free: 7.102 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008484/0.6316, allocations: 3.33 MB / 0.849 GB, free: 3.762 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.6374, allocations: 2.504 MB / 0.8514 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007048/0.6445, allocations: 5.408 MB / 0.8567 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003707/0.6482, allocations: 2.232 MB / 0.8589 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006394/0.6547, allocations: 2.763 MB / 0.8616 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.6582, allocations: 1.953 MB / 0.8635 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007715/0.659, allocations: 212 kB / 0.8637 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.6619, allocations: 1.096 MB / 0.8648 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.663, allocations: 0.5487 MB / 0.8653 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003508/0.6665, allocations: 1.263 MB / 0.8665 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3743/1.041, allocations: 3.333 MB / 0.8698 GB, free: 50.58 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.041, allocations: 0 / 0.8698 GB, free: 50.58 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.784e-06/1.041, allocations: 0 / 0.8698 GB, free: 50.58 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.883e-05/1.041, allocations: 1.531 kB / 0.8698 GB, free: 50.58 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.005692/1.047, allocations: 2.79 MB / 0.8725 GB, free: 49.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.047, allocations: 14.44 kB / 0.8725 GB, free: 49.53 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/1.047, allocations: 176.1 kB / 0.8727 GB, free: 49.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006305/1.048, allocations: 264.1 kB / 0.873 GB, free: 49.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/1.05, allocations: 1.505 MB / 0.8744 GB, free: 48.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/1.05, allocations: 103 kB / 0.8745 GB, free: 48.83 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/1.05, allocations: 143.6 kB / 0.8747 GB, free: 48.83 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/1.052, allocations: 1.161 MB / 0.8758 GB, free: 48.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.052, allocations: 0 / 0.8758 GB, free: 48.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.052, allocations: 46.53 kB / 0.8758 GB, free: 48.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/1.052, allocations: 33.28 kB / 0.8759 GB, free: 48.75 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/1.054, allocations: 1.019 MB / 0.8769 GB, free: 48.73 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.01024/1.065, allocations: 6.312 MB / 0.883 GB, free: 46.11 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/1.066, allocations: 0.574 MB / 0.8836 GB, free: 46.09 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/1.066, allocations: 381.9 kB / 0.884 GB, free: 46.08 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/1.066, allocations: 0.5041 MB / 0.8844 GB, free: 45.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.066, allocations: 39.06 kB / 0.8845 GB, free: 45.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0016/1.068, allocations: 233.6 kB / 0.8847 GB, free: 45.42 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/1.068, allocations: 0 / 0.8847 GB, free: 45.42 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58): time 0.002066/1.07, allocations: 1.165 MB / 0.8858 GB, free: 45.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.07, allocations: 57.66 kB / 0.8859 GB, free: 45.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/1.072, allocations: 1.895 MB / 0.8877 GB, free: 44.97 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/1.073, allocations: 46.58 kB / 0.8878 GB, free: 44.94 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005993/1.073, allocations: 0.9185 MB / 0.8887 GB, free: 44.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.073, allocations: 203.7 kB / 0.8889 GB, free: 44.55 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/1.074, allocations: 297.7 kB / 0.8892 GB, free: 44.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/1.074, allocations: 360.1 kB / 0.8895 GB, free: 44.21 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007656/1.075, allocations: 462.1 kB / 0.89 GB, free: 44.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.076, allocations: 0.6927 MB / 0.8906 GB, free: 43.99 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/1.077, allocations: 0.9817 MB / 0.8916 GB, free: 43.86 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.077, allocations: 1.188 kB / 0.8916 GB, free: 43.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002511/1.08, allocations: 1.431 MB / 0.893 GB, free: 43.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.08, allocations: 6.188 kB / 0.893 GB, free: 43.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.08, allocations: 2.906 kB / 0.893 GB, free: 43.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/1.08, allocations: 8.562 kB / 0.893 GB, free: 43.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.081, allocations: 288.2 kB / 0.8933 GB, free: 43.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/1.081, allocations: 10.78 kB / 0.8933 GB, free: 43.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.083, allocations: 84.33 kB / 0.8934 GB, free: 43.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.083, allocations: 64.73 kB / 0.8934 GB, free: 43.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001377/1.084, allocations: 0.7173 MB / 0.8941 GB, free: 43.62 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009088/1.085, allocations: 0.6742 MB / 0.8948 GB, free: 43.39 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001463/1.087, allocations: 0.9368 MB / 0.8957 GB, free: 43.25 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.728e-06/1.087, allocations: 0.75 kB / 0.8957 GB, free: 43.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002378/1.089, allocations: 1.374 MB / 0.897 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.089, allocations: 10.88 kB / 0.8971 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.089, allocations: 2.75 kB / 0.8971 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.089, allocations: 8.25 kB / 0.8971 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.09, allocations: 279.7 kB / 0.8973 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/1.09, allocations: 11.66 kB / 0.8973 GB, free: 43.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/1.092, allocations: 107.2 kB / 0.8974 GB, free: 43.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.092, allocations: 60.81 kB / 0.8975 GB, free: 43.07 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.0002956/1.092, allocations: 234.9 kB / 0.8977 GB, free: 42.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/1.093, allocations: 204.6 kB / 0.8979 GB, free: 42.78 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/1.095, allocations: 1.09 MB / 0.899 GB, free: 42.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.095, allocations: 12.06 kB / 0.899 GB, free: 42.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.095, allocations: 1.094 kB / 0.899 GB, free: 42.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.095, allocations: 6.766 kB / 0.899 GB, free: 42.69 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/1.099, allocations: 2.45 MB / 0.9014 GB, free: 42.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.099, allocations: 6.531 kB / 0.9014 GB, free: 42.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/1.099, allocations: 140.7 kB / 0.9015 GB, free: 42.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/1.099, allocations: 2.781 kB / 0.9015 GB, free: 42.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/1.099, allocations: 24.28 kB / 0.9016 GB, free: 42.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.099, allocations: 2.938 kB / 0.9016 GB, free: 42.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.099, allocations: 5.281 kB / 0.9016 GB, free: 42.29 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/1.101, allocations: 1.07 MB / 0.9026 GB, free: 41.99 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/1.101, allocations: 358.5 kB / 0.903 GB, free: 41.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/1.102, allocations: 14.25 kB / 0.903 GB, free: 41.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/1.102, allocations: 39.84 kB / 0.903 GB, free: 41.78 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.103, allocations: 52.88 kB / 0.9031 GB, free: 41.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/1.103, allocations: 21.61 kB / 0.9031 GB, free: 41.78 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00144/1.104, allocations: 1.245 MB / 0.9043 GB, free: 41.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.104, allocations: 0 / 0.9043 GB, free: 41.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002112/1.106, allocations: 0.9083 MB / 0.9052 GB, free: 41.53 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.001942/1.108, allocations: 1.863 MB / 0.907 GB, free: 40.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002538/1.111, allocations: 1.654 MB / 0.9086 GB, free: 40.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.111, allocations: 0 / 0.9086 GB, free: 40.63 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/1.111, allocations: 418.9 kB / 0.909 GB, free: 40.63 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/1.115, allocations: 1.087 MB / 0.9101 GB, free: 40.46 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/1.132, allocations: 13.08 MB / 0.9229 GB, free: 37.31 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007159/1.133, allocations: 1.41 MB / 0.9242 GB, free: 36.56 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00166/1.134, allocations: 404.5 kB / 0.9246 GB, free: 36.45 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008825/1.135, allocations: 0.8312 MB / 0.9254 GB, free: 36.45 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/1.135, allocations: 4 kB / 0.9254 GB, free: 36.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0817/1.217, allocations: 56.09 MB / 0.9802 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.66, allocations: 0 / 0.9802 GB, free: 4.719 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)