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.001247/0.001247, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001279/0.001279, allocations: 194.5 kB / 16.26 MB, free: 6.633 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 278.5 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9275/0.9275, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 98.86 kB / 0.5948 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1472, allocations: 86.99 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002396/0.1497, allocations: 1.531 MB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002573/0.1499, allocations: 104.6 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.15, allocations: 0 / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.017e-05/0.15, allocations: 3.938 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.1501, allocations: 7.938 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.1503, allocations: 20.75 kB / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.1503, allocations: 47.84 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.1504, allocations: 13.78 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.1505, allocations: 11.98 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.1505, allocations: 24.48 kB / 0.6815 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1505, allocations: 4 kB / 0.6815 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.1506, allocations: 25.36 kB / 0.6815 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.1506, allocations: 7.984 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.1507, allocations: 27.86 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.849e-05/0.1508, allocations: 59.73 kB / 0.6816 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1508, allocations: 4 kB / 0.6816 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1508, allocations: 4 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1508, allocations: 0 / 0.6816 GB, free: 15.09 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.0004212/0.1512, allocations: 371.3 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1512, allocations: 12.03 kB / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.1513, allocations: 30.75 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.1513, allocations: 8.844 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.1514, allocations: 172.2 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1514, allocations: 8.359 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1514, allocations: 8.375 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1517, allocations: 70.22 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1517, allocations: 7.875 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1517, allocations: 0 / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1517, allocations: 0 / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.152, allocations: 79.92 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.1523, allocations: 292.8 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1525, allocations: 66.53 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1526, allocations: 52.83 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.1528, allocations: 105.1 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1528, allocations: 30.56 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1528, allocations: 0 / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004867/0.1533, allocations: 153.5 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1534, allocations: 55.41 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.1535, allocations: 121.8 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1535, allocations: 33.7 kB / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.1535, allocations: 88.12 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1535, allocations: 19.81 kB / 0.6833 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.1536, allocations: 9.719 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.1537, allocations: 322.8 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1538, allocations: 35.91 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1539, allocations: 39.95 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.1542, allocations: 84.72 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1542, allocations: 0 / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002861/0.1545, allocations: 105.6 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1545, allocations: 11.94 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1545, allocations: 4 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1545, allocations: 0 / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1546, allocations: 11.98 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1546, allocations: 4 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.1547, allocations: 11.89 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1547, allocations: 11.92 kB / 0.6839 GB, free: 12.45 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.219e-05/0.1548, allocations: 118.4 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.1548, allocations: 4 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.1552, allocations: 121.5 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1552, allocations: 3.984 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1552, allocations: 4 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1552, allocations: 0 / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1553, allocations: 177.5 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1554, allocations: 3.984 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.1554, allocations: 19.98 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1555, allocations: 0 / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1555, allocations: 3.938 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1555, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.1555, allocations: 11.94 kB / 0.6844 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.1558, allocations: 211.3 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.1558, allocations: 81.44 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1559, allocations: 4 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.156, allocations: 11.98 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.156, allocations: 7.984 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.156, allocations: 0 / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.1561, allocations: 102.1 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1561, allocations: 0 / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.1563, allocations: 12 kB / 0.6848 GB, free: 11.47 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.0005787/0.1569, allocations: 0.7474 MB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1572, allocations: 83.91 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1572, allocations: 0 / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1574, allocations: 43.95 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1576, allocations: 7.938 kB / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.158, allocations: 199.2 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1582, allocations: 0.6846 MB / 0.6865 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.84e-05/0.1582, allocations: 7.922 kB / 0.6865 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1583, allocations: 19.44 kB / 0.6865 GB, free: 9.59 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1583, allocations: 4 kB / 0.6865 GB, free: 9.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5834/0.7417, allocations: 1.669 MB / 0.6882 GB, free: 8.039 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.742, allocations: 214.3 kB / 0.6884 GB, free: 7.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.538, allocations: 0 / 0.6884 GB, free: 7.777 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)