Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.001178/0.001178, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001256/0.001256, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7155/0.7155, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 65.45 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1516, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02094/0.1726, allocations: 17.43 MB / 0.6486 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007603/0.1802, allocations: 4.913 MB / 0.6534 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.181, allocations: 19.81 kB / 0.6534 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009252/0.182, allocations: 254.3 kB / 0.6537 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.1839, allocations: 0.6102 MB / 0.6543 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.1861, allocations: 0.7291 MB / 0.655 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1875, allocations: 0.9663 MB / 0.6559 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.1881, allocations: 339.8 kB / 0.6563 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008779/0.189, allocations: 422.3 kB / 0.6567 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.1896, allocations: 318.6 kB / 0.657 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.1897, allocations: 28 kB / 0.657 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.1911, allocations: 0.7214 MB / 0.6577 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1913, allocations: 135.5 kB / 0.6578 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.1916, allocations: 238.7 kB / 0.658 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1929, allocations: 0.8927 MB / 0.6589 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1929, allocations: 0 / 0.6589 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1929, allocations: 0 / 0.6589 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.1929, allocations: 0 / 0.6589 GB, free: 8.832 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001268/0.1942, allocations: 0.868 MB / 0.6598 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1942, allocations: 8.031 kB / 0.6598 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.1943, allocations: 66.72 kB / 0.6598 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1945, allocations: 64.19 kB / 0.6599 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.1951, allocations: 461.4 kB / 0.6603 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1952, allocations: 24.56 kB / 0.6604 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.1952, allocations: 32 kB / 0.6604 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.1957, allocations: 282.2 kB / 0.6607 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1957, allocations: 4 kB / 0.6607 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1957, allocations: 8 kB / 0.6607 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1958, allocations: 8 kB / 0.6607 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.1962, allocations: 198.1 kB / 0.6609 GB, free: 6.719 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.001762/0.1979, allocations: 1.468 MB / 0.6623 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1982, allocations: 166.7 kB / 0.6625 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1984, allocations: 90.62 kB / 0.6626 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.1999, allocations: 1.268 MB / 0.6638 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2, allocations: 38.5 kB / 0.6638 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2, allocations: 0 / 0.6638 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000615/0.2006, allocations: 255.3 kB / 0.6641 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2006, allocations: 55.41 kB / 0.6641 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.2013, allocations: 0.5808 MB / 0.6647 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.2013, allocations: 41.62 kB / 0.6647 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.2015, allocations: 260.1 kB / 0.665 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.2015, allocations: 63.17 kB / 0.665 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.2016, allocations: 69.89 kB / 0.6651 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2017, allocations: 358.8 kB / 0.6654 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.2019, allocations: 89.86 kB / 0.6655 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.2022, allocations: 214.7 kB / 0.6657 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.2026, allocations: 231.1 kB / 0.666 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2026, allocations: 0 / 0.666 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005577/0.2032, allocations: 317.6 kB / 0.6663 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2032, allocations: 8 kB / 0.6663 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2032, allocations: 0 / 0.6663 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2032, allocations: 4 kB / 0.6663 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.2035, allocations: 63.91 kB / 0.6663 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2035, allocations: 4 kB / 0.6663 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.2038, allocations: 47.73 kB / 0.6664 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2039, allocations: 19.94 kB / 0.6664 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002895/0.2042, allocations: 216.8 kB / 0.6666 GB, free: 384 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000264/0.2044, allocations: 205.6 kB / 0.6668 GB, free: 128 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003655/0.2048, allocations: 231.6 kB / 0.667 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/0.2048, allocations: 4 kB / 0.667 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000531/0.2054, allocations: 301 kB / 0.6673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2054, allocations: 11.94 kB / 0.6673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2054, allocations: 4 kB / 0.6673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.2054, allocations: 4 kB / 0.6673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.2056, allocations: 63.89 kB / 0.6674 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2056, allocations: 7.938 kB / 0.6674 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.206, allocations: 31.83 kB / 0.6674 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.206, allocations: 15.98 kB / 0.6674 GB, free: 15.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001077/0.2061, allocations: 203.8 kB / 0.6676 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.2062, allocations: 55.28 kB / 0.6677 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.2067, allocations: 259.6 kB / 0.6679 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2067, allocations: 4 kB / 0.6679 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2067, allocations: 4 kB / 0.668 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2068, allocations: 0 / 0.668 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009649/0.2077, allocations: 0.7393 MB / 0.6687 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2077, allocations: 4 kB / 0.6687 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2079, allocations: 27.97 kB / 0.6687 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2079, allocations: 4.125 kB / 0.6687 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2079, allocations: 12 kB / 0.6687 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2079, allocations: 0 / 0.6687 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2079, allocations: 4 kB / 0.6687 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.2084, allocations: 352.2 kB / 0.6691 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2085, allocations: 148.4 kB / 0.6692 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.2086, allocations: 0 / 0.6692 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.2088, allocations: 15.98 kB / 0.6692 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.2088, allocations: 15.92 kB / 0.6692 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2088, allocations: 8 kB / 0.6692 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004216/0.2093, allocations: 414.8 kB / 0.6696 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2093, allocations: 7.938 kB / 0.6696 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000679/0.21, allocations: 235.7 kB / 0.6699 GB, free: 12.83 MB / 0.5137 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001654/0.2116, allocations: 1.275 MB / 0.6711 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.2123, allocations: 308.3 kB / 0.6714 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2123, allocations: 12.19 kB / 0.6714 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.2125, allocations: 87.83 kB / 0.6715 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2136, allocations: 260.8 kB / 0.6717 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.2185, allocations: 3.931 MB / 0.6756 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.2189, allocations: 0.8428 MB / 0.6764 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003157/0.2192, allocations: 112.6 kB / 0.6765 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.2194, allocations: 167.4 kB / 0.6767 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of SimCode: time 1.883e-06/0.2194, allocations: 0 / 0.6767 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.2556, allocations: 15.23 MB / 0.6916 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.505, allocations: 12.39 kB / 0.6916 GB, free: 6.738 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)