Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7687/0.7687, allocations: 143.8 MB / 159.1 MB, free: 6.488 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009527/0.000953, allocations: 175.3 kB / 192 MB, free: 6.742 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.7 MB / 450.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009908, allocations: 114.4 kB / 0.5211 GB, free: 1.648 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 280.9 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004375, allocations: 16.47 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1426, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001682/0.1443, allocations: 1.201 MB / 0.7765 GB, free: 13.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.1447, allocations: 184.9 kB / 0.7767 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.1447, allocations: 0 / 0.7767 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.1447, allocations: 7.938 kB / 0.7767 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.1448, allocations: 7.938 kB / 0.7767 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.145, allocations: 19.91 kB / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.1451, allocations: 39.92 kB / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.1452, allocations: 11.98 kB / 0.7767 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.1452, allocations: 15.92 kB / 0.7768 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.1453, allocations: 23.91 kB / 0.7768 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1453, allocations: 0 / 0.7768 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.1453, allocations: 27.92 kB / 0.7768 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.1454, allocations: 7.938 kB / 0.7768 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.1454, allocations: 49.56 kB / 0.7769 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1456, allocations: 52.06 kB / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1456, allocations: 4 kB / 0.7769 GB, free: 12.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1456, allocations: 0 / 0.7769 GB, free: 12.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1456, allocations: 3.938 kB / 0.7769 GB, free: 12.67 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004649/0.1461, allocations: 383.3 kB / 0.7773 GB, free: 12.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1461, allocations: 12.02 kB / 0.7773 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.1461, allocations: 8.844 kB / 0.7773 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1462, allocations: 172.2 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1463, allocations: 4.375 kB / 0.7775 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1463, allocations: 4.375 kB / 0.7775 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1465, allocations: 90.2 kB / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1466, allocations: 192 / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1466, allocations: 3.938 kB / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1466, allocations: 0 / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.1469, allocations: 99.86 kB / 0.7777 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1473, allocations: 281 kB / 0.7779 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.1475, allocations: 78.48 kB / 0.778 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1477, allocations: 56.91 kB / 0.7781 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.148, allocations: 105.1 kB / 0.7782 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.148, allocations: 34.5 kB / 0.7782 GB, free: 11.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.148, allocations: 0 / 0.7782 GB, free: 11.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005657/0.1486, allocations: 185.5 kB / 0.7784 GB, free: 10.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.1486, allocations: 51.41 kB / 0.7784 GB, free: 10.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1487, allocations: 125.8 kB / 0.7785 GB, free: 10.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1487, allocations: 25.7 kB / 0.7786 GB, free: 10.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1488, allocations: 92.12 kB / 0.7787 GB, free: 10.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.1488, allocations: 7.906 kB / 0.7787 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1488, allocations: 0 / 0.7787 GB, free: 10.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1489, allocations: 318.8 kB / 0.779 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1491, allocations: 47.95 kB / 0.779 GB, free: 10.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1493, allocations: 51.95 kB / 0.7791 GB, free: 10.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.1495, allocations: 109 kB / 0.7792 GB, free: 10.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1496, allocations: 3.938 kB / 0.7792 GB, free: 10.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/0.1499, allocations: 129.5 kB / 0.7793 GB, free: 10 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1499, allocations: 8 kB / 0.7793 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1499, allocations: 0 / 0.7793 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1499, allocations: 0 / 0.7793 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1501, allocations: 27.97 kB / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1501, allocations: 0 / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.1502, allocations: 15.98 kB / 0.7793 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1502, allocations: 3.938 kB / 0.7793 GB, free: 9.945 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.759e-05/0.1503, allocations: 121.7 kB / 0.7795 GB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1503, allocations: 11.89 kB / 0.7795 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.1507, allocations: 145.5 kB / 0.7796 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1507, allocations: 4 kB / 0.7796 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1508, allocations: 3.938 kB / 0.7796 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1508, allocations: 4 kB / 0.7796 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.151, allocations: 181.6 kB / 0.7798 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.151, allocations: 4 kB / 0.7798 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.1511, allocations: 15.98 kB / 0.7798 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1511, allocations: 4 kB / 0.7798 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1511, allocations: 3.984 kB / 0.7798 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1511, allocations: 4 kB / 0.7798 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1511, allocations: 0 / 0.7798 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.1515, allocations: 231.3 kB / 0.78 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1516, allocations: 89.03 kB / 0.7801 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1516, allocations: 0 / 0.7801 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1517, allocations: 15.98 kB / 0.7801 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.1517, allocations: 8 kB / 0.7802 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1518, allocations: 3.984 kB / 0.7802 GB, free: 9.004 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.1518, allocations: 99.77 kB / 0.7803 GB, free: 8.906 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1518, allocations: 0 / 0.7803 GB, free: 8.906 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.152, allocations: 8 kB / 0.7803 GB, free: 8.898 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001215/0.1521, allocations: 103.2 kB / 0.7804 GB, free: 8.789 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.1525, allocations: 111.8 kB / 0.7805 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1525, allocations: 0 / 0.7805 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1527, allocations: 47.97 kB / 0.7805 GB, free: 8.633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.1529, allocations: 18.25 kB / 0.7805 GB, free: 8.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.1533, allocations: 168.6 kB / 0.7807 GB, free: 8.426 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1536, allocations: 0.6848 MB / 0.7814 GB, free: 7.715 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.1536, allocations: 4 kB / 0.7814 GB, free: 7.711 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.1536, allocations: 7.438 kB / 0.7814 GB, free: 7.703 MB / 458.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1536, allocations: 0 / 0.7814 GB, free: 7.703 MB / 458.7 MB Notification: Performance of Templates: time 0.002539/0.1562, allocations: 0.6627 MB / 0.782 GB, free: 7.043 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)