Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008149/0.008149, allocations: 171 kB / 16.27 MB, free: 6.324 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 275.1 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9176/0.9176, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 12.03 kB / 0.5987 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02792/0.1856, allocations: 29.85 MB / 0.7143 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1981, allocations: 10.73 MB / 0.7248 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1992, allocations: 23.81 kB / 0.7248 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.2003, allocations: 318.1 kB / 0.7251 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.203, allocations: 1.049 MB / 0.7261 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.205, allocations: 0.7744 MB / 0.7269 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.2079, allocations: 2.845 MB / 0.7296 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.2087, allocations: 0.5615 MB / 0.7302 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.2103, allocations: 0.8867 MB / 0.7311 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008108/0.2112, allocations: 0.665 MB / 0.7317 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.2112, allocations: 32 kB / 0.7317 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2123, allocations: 0.5653 MB / 0.7323 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.2125, allocations: 139.2 kB / 0.7324 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.2128, allocations: 423.4 kB / 0.7328 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2139, allocations: 1.055 MB / 0.7338 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2139, allocations: 4 kB / 0.7339 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.214, allocations: 0 / 0.7339 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.214, allocations: 0 / 0.7339 GB, free: 13.01 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001547/0.2155, allocations: 1.008 MB / 0.7348 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2156, allocations: 12.03 kB / 0.7348 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2157, allocations: 95.81 kB / 0.7349 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.2164, allocations: 0.5695 MB / 0.7355 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.2165, allocations: 41 kB / 0.7355 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.2166, allocations: 52 kB / 0.7356 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.2173, allocations: 422.4 kB / 0.736 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2173, allocations: 0 / 0.736 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.2173, allocations: 16 kB / 0.736 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2174, allocations: 12 kB / 0.736 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.2179, allocations: 315.8 kB / 0.7363 GB, free: 10.39 MB / 0.5294 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.00255/0.2205, allocations: 1.869 MB / 0.7381 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2208, allocations: 172.2 kB / 0.7383 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.221, allocations: 84.81 kB / 0.7384 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.2213, allocations: 344.4 kB / 0.7387 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2213, allocations: 30.56 kB / 0.7387 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.2214, allocations: 3.938 kB / 0.7387 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0006864/0.222, allocations: 322.8 kB / 0.7391 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2221, allocations: 51.52 kB / 0.7391 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000729/0.2228, allocations: 0.6881 MB / 0.7398 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.2229, allocations: 33.7 kB / 0.7398 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.2231, allocations: 368.7 kB / 0.7402 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.2232, allocations: 67.03 kB / 0.7402 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.2233, allocations: 41.7 kB / 0.7403 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2234, allocations: 386.7 kB / 0.7406 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.2237, allocations: 112.7 kB / 0.7407 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.224, allocations: 187.7 kB / 0.7409 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.2245, allocations: 241.6 kB / 0.7411 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2245, allocations: 0 / 0.7411 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006921/0.2252, allocations: 410.1 kB / 0.7415 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.2253, allocations: 106.7 kB / 0.7416 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2253, allocations: 4 kB / 0.7416 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2253, allocations: 4 kB / 0.7417 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.2263, allocations: 167.7 kB / 0.7418 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.2276, allocations: 2.372 MB / 0.7441 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.2282, allocations: 83.66 kB / 0.7442 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.2282, allocations: 12 kB / 0.7442 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.2282, allocations: 4 kB / 0.7442 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005932/0.2288, allocations: 295.8 kB / 0.7445 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2288, allocations: 8 kB / 0.7445 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.2288, allocations: 3.938 kB / 0.7445 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.2292, allocations: 99.86 kB / 0.7446 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2293, allocations: 4 kB / 0.7446 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.2297, allocations: 91.41 kB / 0.7447 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.2297, allocations: 12 kB / 0.7447 GB, free: 1.348 MB / 0.5294 GB 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002725/0.23, allocations: 269.7 kB / 0.745 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.2301, allocations: 67.16 kB / 0.745 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.2308, allocations: 321.1 kB / 0.7453 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.2309, allocations: 3.938 kB / 0.7453 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2309, allocations: 3.938 kB / 0.7453 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2309, allocations: 4 kB / 0.7454 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.2322, allocations: 0.8956 MB / 0.7462 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.2322, allocations: 8 kB / 0.7462 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2325, allocations: 67.95 kB / 0.7463 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2325, allocations: 7.938 kB / 0.7463 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2325, allocations: 8.047 kB / 0.7463 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.2336, allocations: 2.364 MB / 0.7486 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2336, allocations: 4 kB / 0.7486 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.2342, allocations: 406.7 kB / 0.749 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.2344, allocations: 180 kB / 0.7492 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.2345, allocations: 4 kB / 0.7492 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.2349, allocations: 47.95 kB / 0.7492 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.2349, allocations: 23.97 kB / 0.7493 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.235, allocations: 4 kB / 0.7493 GB, free: 12.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005515/0.2355, allocations: 475 kB / 0.7497 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2355, allocations: 0 / 0.7497 GB, free: 11.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009123/0.2364, allocations: 359 kB / 0.7501 GB, free: 11.64 MB / 0.545 GB 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000566/0.237, allocations: 235.7 kB / 0.7503 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.2386, allocations: 0.5097 MB / 0.7508 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2387, allocations: 0 / 0.7508 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.2391, allocations: 152 kB / 0.7509 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.2411, allocations: 371.5 kB / 0.7513 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2429, allocations: 1.39 MB / 0.7526 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.2434, allocations: 0.9332 MB / 0.7535 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004432/0.2439, allocations: 117.7 kB / 0.7537 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.244, allocations: 67.3 kB / 0.7537 GB, free: 7.832 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.244, allocations: 0 / 0.7537 GB, free: 7.832 MB / 0.545 GB Notification: Performance of Templates: time 0.02118/0.2652, allocations: 12.36 MB / 0.7658 GB, free: 11.71 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)