Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009197, allocations: 99.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009648, allocations: 175.4 kB / 16.58 MB, free: 6.418 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.451/1.451, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.075/1.075, allocations: 143.4 MB / 435.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 12 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 83.41 MB / 0.5981 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.5232/0.7519, allocations: 27.39 MB / 0.6248 GB, free: 29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.7631, allocations: 7.667 MB / 0.6323 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.765, allocations: 24.44 kB / 0.6323 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.7662, allocations: 308.8 kB / 0.6326 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.7706, allocations: 1.08 MB / 0.6337 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.7736, allocations: 0.9621 MB / 0.6346 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0042/0.7778, allocations: 3.525 MB / 0.6381 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.7795, allocations: 1.087 MB / 0.6391 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.7825, allocations: 1.466 MB / 0.6405 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/0.7855, allocations: 1.557 MB / 0.6421 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005394/0.7861, allocations: 63 kB / 0.6421 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.7885, allocations: 0.8635 MB / 0.643 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.7889, allocations: 333.5 kB / 0.6433 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.7895, allocations: 251.1 kB / 0.6435 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.7912, allocations: 1.599 MB / 0.6451 GB, free: 19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.7912, allocations: 2.625 kB / 0.6451 GB, free: 19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7912, allocations: 0 / 0.6451 GB, free: 19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.7912, allocations: 0 / 0.6451 GB, free: 19 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002125/0.7934, allocations: 1.341 MB / 0.6464 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.7934, allocations: 14.86 kB / 0.6464 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.7938, allocations: 148.5 kB / 0.6466 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.7952, allocations: 0.8631 MB / 0.6474 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.7953, allocations: 78.38 kB / 0.6475 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.7955, allocations: 117.6 kB / 0.6476 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.7967, allocations: 0.6445 MB / 0.6482 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7967, allocations: 0 / 0.6482 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.7968, allocations: 21.88 kB / 0.6482 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.7968, allocations: 15.25 kB / 0.6483 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.7979, allocations: 477.1 kB / 0.6487 GB, free: 17.02 MB / 0.4981 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.00575/0.8036, allocations: 2.878 MB / 0.6515 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/0.8044, allocations: 315.5 kB / 0.6518 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.8048, allocations: 155.2 kB / 0.652 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/0.8051, allocations: 347.1 kB / 0.6523 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.8052, allocations: 41.78 kB / 0.6523 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.8052, allocations: 4 kB / 0.6523 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001644/0.8068, allocations: 0.5535 MB / 0.6529 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.8069, allocations: 55.97 kB / 0.6529 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.8084, allocations: 0.8933 MB / 0.6538 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.8086, allocations: 54.92 kB / 0.6539 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/0.8091, allocations: 0.529 MB / 0.6544 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.8092, allocations: 114 kB / 0.6545 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.8092, allocations: 10.44 kB / 0.6545 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.8093, allocations: 327.4 kB / 0.6548 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.8097, allocations: 183.4 kB / 0.655 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.8111, allocations: 1.139 MB / 0.6561 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.8117, allocations: 314 kB / 0.6564 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8117, allocations: 0 / 0.6564 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00149/0.8132, allocations: 0.6424 MB / 0.657 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.8133, allocations: 149.5 kB / 0.6572 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.8133, allocations: 3.109 kB / 0.6572 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8133, allocations: 8.406 kB / 0.6572 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.8147, allocations: 236.4 kB / 0.6574 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.8159, allocations: 2.96 MB / 0.6603 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/0.8196, allocations: 0.7516 MB / 0.661 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.8198, allocations: 28.55 kB / 0.6611 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8198, allocations: 3.469 kB / 0.6611 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/0.821, allocations: 0.4938 MB / 0.6615 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.821, allocations: 2.219 kB / 0.6615 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.821, allocations: 9.219 kB / 0.6615 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/0.8218, allocations: 163.3 kB / 0.6617 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.8218, allocations: 9.891 kB / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/0.8255, allocations: 0.733 MB / 0.6624 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.8256, allocations: 29.27 kB / 0.6625 GB, free: 7.957 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001002/0.8266, allocations: 331.6 kB / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.8269, allocations: 95.03 kB / 0.6629 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.8283, allocations: 0.5282 MB / 0.6634 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.8283, allocations: 5.594 kB / 0.6634 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8283, allocations: 0 / 0.6634 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.8284, allocations: 2.25 kB / 0.6634 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.8311, allocations: 1.264 MB / 0.6646 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.8311, allocations: 0.8438 kB / 0.6646 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.8317, allocations: 128.6 kB / 0.6647 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.8317, allocations: 11.41 kB / 0.6648 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.8318, allocations: 15.17 kB / 0.6648 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009986/0.8328, allocations: 2.934 MB / 0.6676 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.8328, allocations: 5.984 kB / 0.6676 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.8339, allocations: 0.5896 MB / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.8344, allocations: 225.4 kB / 0.6684 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8345, allocations: 11.69 kB / 0.6684 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.835, allocations: 60.72 kB / 0.6685 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.8352, allocations: 30.27 kB / 0.6685 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.8352, allocations: 12.59 kB / 0.6685 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001085/0.8363, allocations: 0.6006 MB / 0.6691 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8363, allocations: 0 / 0.6691 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002557/0.8389, allocations: 0.5476 MB / 0.6697 GB, free: 2.848 MB / 0.4981 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008502/0.8397, allocations: 321.9 kB / 0.67 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003172/0.8429, allocations: 0.841 MB / 0.6708 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8429, allocations: 0 / 0.6708 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.8436, allocations: 247.4 kB / 0.671 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.8464, allocations: 483.9 kB / 0.6715 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.8496, allocations: 1.843 MB / 0.6733 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.8502, allocations: 1.021 MB / 0.6743 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.8505, allocations: 90.33 kB / 0.6744 GB, free: 472 kB / 0.4981 GB Notification: Performance of SimCode: time 9.51e-07/0.8505, allocations: 0 / 0.6744 GB, free: 472 kB / 0.4981 GB Notification: Performance of Templates: time 0.06233/0.9129, allocations: 36.47 MB / 0.71 GB, free: 8.805 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1