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.001014/0.001014, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001299/0.001299, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 281.5 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004601, allocations: 12.59 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02609/0.2058, allocations: 28.26 MB / 0.7121 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.2183, allocations: 10.15 MB / 0.722 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.2196, allocations: 19.88 kB / 0.722 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.2209, allocations: 278.1 kB / 0.7223 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.2241, allocations: 0.9352 MB / 0.7232 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.2262, allocations: 0.7077 MB / 0.7239 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003503/0.2298, allocations: 2.408 MB / 0.7262 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2309, allocations: 0.5229 MB / 0.7267 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.2332, allocations: 0.8283 MB / 0.7276 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.2343, allocations: 0.634 MB / 0.7282 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.2344, allocations: 36 kB / 0.7282 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.2359, allocations: 0.5107 MB / 0.7287 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2361, allocations: 135.3 kB / 0.7288 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.2364, allocations: 177.3 kB / 0.729 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.2375, allocations: 0.7597 MB / 0.7297 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2376, allocations: 0 / 0.7297 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2376, allocations: 0 / 0.7297 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.2376, allocations: 0 / 0.7297 GB, free: 0.9805 MB / 0.5137 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.001788/0.2394, allocations: 1.028 MB / 0.7307 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.2394, allocations: 8.031 kB / 0.7308 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2396, allocations: 94.88 kB / 0.7308 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.2404, allocations: 0.5421 MB / 0.7314 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.2405, allocations: 37 kB / 0.7314 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.2405, allocations: 56 kB / 0.7315 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008642/0.2414, allocations: 418.1 kB / 0.7319 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2415, allocations: 0 / 0.7319 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.2415, allocations: 16 kB / 0.7319 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.2415, allocations: 12 kB / 0.7319 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.2421, allocations: 315.8 kB / 0.7322 GB, free: 14.38 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.002707/0.2448, allocations: 1.854 MB / 0.734 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.2452, allocations: 182.4 kB / 0.7342 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.2454, allocations: 84.81 kB / 0.7343 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.2457, allocations: 340.4 kB / 0.7346 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2457, allocations: 30.56 kB / 0.7346 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.864e-06/0.2457, allocations: 0 / 0.7346 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007384/0.2465, allocations: 318.6 kB / 0.7349 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2465, allocations: 63.3 kB / 0.735 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.2473, allocations: 0.6804 MB / 0.7356 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.2474, allocations: 33.7 kB / 0.7357 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.2477, allocations: 360.7 kB / 0.736 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.2477, allocations: 67.05 kB / 0.7361 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.2478, allocations: 8 kB / 0.7361 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.248, allocations: 382.7 kB / 0.7365 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.2482, allocations: 100.7 kB / 0.7365 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.2485, allocations: 187.5 kB / 0.7367 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.2488, allocations: 130.2 kB / 0.7369 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2488, allocations: 0 / 0.7369 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006554/0.2494, allocations: 382.6 kB / 0.7372 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.2496, allocations: 126.5 kB / 0.7373 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2496, allocations: 0 / 0.7373 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2496, allocations: 0 / 0.7373 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.2506, allocations: 167.8 kB / 0.7375 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.2521, allocations: 2.364 MB / 0.7398 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.2527, allocations: 87.69 kB / 0.7399 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.2528, allocations: 12 kB / 0.7399 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.2528, allocations: 4 kB / 0.7399 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005834/0.2534, allocations: 296 kB / 0.7402 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.2534, allocations: 0 / 0.7402 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.2534, allocations: 7.953 kB / 0.7402 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.2538, allocations: 107.9 kB / 0.7403 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2538, allocations: 4 kB / 0.7403 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.2542, allocations: 79.56 kB / 0.7404 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.2543, allocations: 16 kB / 0.7404 GB, free: 5.547 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.2546, allocations: 265.7 kB / 0.7406 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.2547, allocations: 67.27 kB / 0.7407 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/0.2553, allocations: 322 kB / 0.741 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.2554, allocations: 11.94 kB / 0.741 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2554, allocations: 0 / 0.741 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2554, allocations: 0 / 0.741 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.2566, allocations: 0.8972 MB / 0.7419 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2567, allocations: 7.938 kB / 0.7419 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.257, allocations: 72.02 kB / 0.742 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.257, allocations: 4 kB / 0.742 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.257, allocations: 7.984 kB / 0.742 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.2582, allocations: 2.348 MB / 0.7443 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2582, allocations: 4.031 kB / 0.7443 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.2587, allocations: 419.5 kB / 0.7447 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.2589, allocations: 180.1 kB / 0.7449 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.259, allocations: 4 kB / 0.7449 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.2594, allocations: 51.86 kB / 0.7449 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.2595, allocations: 15.97 kB / 0.7449 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2595, allocations: 12 kB / 0.7449 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005064/0.26, allocations: 471 kB / 0.7454 GB, free: 212 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.26, allocations: 0 / 0.7454 GB, free: 212 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008291/0.2608, allocations: 347.2 kB / 0.7457 GB, free: 15.87 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000471/0.2613, allocations: 239.8 kB / 0.7459 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.2627, allocations: 0.5032 MB / 0.7464 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2628, allocations: 0 / 0.7464 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.2631, allocations: 148 kB / 0.7466 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.2649, allocations: 379.4 kB / 0.7469 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2668, allocations: 1.342 MB / 0.7483 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.2672, allocations: 0.9371 MB / 0.7492 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004486/0.2677, allocations: 116.2 kB / 0.7493 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2678, allocations: 51.42 kB / 0.7493 GB, free: 12.12 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2678, allocations: 0 / 0.7493 GB, free: 12.12 MB / 0.545 GB Notification: Performance of Templates: time 0.02043/0.2883, allocations: 11.98 MB / 0.761 GB, free: 388 kB / 0.545 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)