Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",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.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 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.001079/0.001079, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 283.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 99.12 kB / 0.5953 GB, free: 27.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1255, allocations: 86.99 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002288/0.1278, allocations: 1.473 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.1281, allocations: 108.5 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.1281, allocations: 0.8125 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.1281, allocations: 3.938 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.1282, allocations: 13.94 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.1284, allocations: 19.97 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.1284, allocations: 43.84 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.1285, allocations: 13.06 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.1286, allocations: 16.69 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.1286, allocations: 27.86 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1287, allocations: 4.625 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.1287, allocations: 21.92 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.1288, allocations: 15.98 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1288, allocations: 19.86 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.1289, allocations: 59.73 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1289, allocations: 0 / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1289, allocations: 0 / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1289, allocations: 4 kB / 0.6821 GB, free: 14.76 MB / 494.1 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.0004337/0.1294, allocations: 375.3 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1294, allocations: 12.03 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.1294, allocations: 30.75 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.1295, allocations: 8.844 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.1296, allocations: 176.2 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.1296, allocations: 384 / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1296, allocations: 4.375 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.1298, allocations: 86.2 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1298, allocations: 7.875 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1299, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1299, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.1302, allocations: 71.92 kB / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.1305, allocations: 288.9 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1307, allocations: 66.53 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1308, allocations: 44.8 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.131, allocations: 117.1 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.131, allocations: 30.56 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.1311, allocations: 0 / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005136/0.1316, allocations: 145.5 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1316, allocations: 55.41 kB / 0.6835 GB, free: 13.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.1317, allocations: 125.8 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1317, allocations: 25.7 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.1318, allocations: 96.12 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.1318, allocations: 7.812 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1318, allocations: 21.66 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.1319, allocations: 322.8 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1321, allocations: 35.91 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1322, allocations: 35.95 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.1325, allocations: 88.72 kB / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1325, allocations: 0 / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.1328, allocations: 105.9 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1328, allocations: 4 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1328, allocations: 4 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1328, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1329, allocations: 15.98 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.133, allocations: 0 / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.133, allocations: 19.89 kB / 0.6844 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.133, allocations: 3.938 kB / 0.6844 GB, free: 12.12 MB / 494.1 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 6.421e-05/0.1331, allocations: 118.4 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1332, allocations: 11.98 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.1335, allocations: 117.5 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.1335, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1335, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1335, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1337, allocations: 185.5 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1337, allocations: 0 / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.1338, allocations: 19.97 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1338, allocations: 4 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.1338, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1338, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1338, allocations: 7.875 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.1342, allocations: 215.3 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.1342, allocations: 85.02 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1342, allocations: 4 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1343, allocations: 11.98 kB / 0.6852 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1344, allocations: 7.984 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1344, allocations: 0 / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.1344, allocations: 102.1 kB / 0.6853 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1344, allocations: 0 / 0.6853 GB, free: 11.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1347, allocations: 8 kB / 0.6853 GB, free: 11.14 MB / 494.1 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.0005591/0.1352, allocations: 0.7474 MB / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1355, allocations: 87.91 kB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1356, allocations: 0 / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1357, allocations: 35.97 kB / 0.6861 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1359, allocations: 19.86 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.1363, allocations: 191.2 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.1365, allocations: 0.6807 MB / 0.687 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.542e-05/0.1366, allocations: 4 kB / 0.687 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.1366, allocations: 15.42 kB / 0.687 GB, free: 9.277 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1366, allocations: 0 / 0.687 GB, free: 9.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2165/0.3531, allocations: 1.861 MB / 0.6888 GB, free: 7.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.047, allocations: 12.98 kB / 0.6888 GB, free: 7.488 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)