Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",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.00726/0.00726, allocations: 101.5 kB / 15.73 MB, free: 6.023 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.001392/0.001392, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002131, allocations: 278.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.917/0.917, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 91.84 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1534, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.00251/0.1559, allocations: 1.588 MB / 0.7675 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000869/0.1568, allocations: 0.5001 MB / 0.768 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.1569, allocations: 4 kB / 0.768 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.937e-05/0.157, allocations: 15.8 kB / 0.768 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.1571, allocations: 15.86 kB / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1573, allocations: 35.89 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1575, allocations: 79.75 kB / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1576, allocations: 48.42 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.1577, allocations: 35.86 kB / 0.7682 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.1578, allocations: 39.83 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1578, allocations: 8 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.1579, allocations: 15.98 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1579, allocations: 27.92 kB / 0.7683 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.158, allocations: 35.75 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1581, allocations: 87.64 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1582, allocations: 0 / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1582, allocations: 3.984 kB / 0.7684 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1582, allocations: 0 / 0.7684 GB, free: 6.402 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004914/0.1587, allocations: 407 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1587, allocations: 8.031 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.1588, allocations: 46.73 kB / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.1588, allocations: 8.844 kB / 0.7688 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.159, allocations: 196.1 kB / 0.769 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.159, allocations: 12.31 kB / 0.769 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.159, allocations: 4.375 kB / 0.769 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1592, allocations: 109.8 kB / 0.7691 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1593, allocations: 0 / 0.7691 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1593, allocations: 0 / 0.7691 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1593, allocations: 0 / 0.7691 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.1595, allocations: 103.9 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.16, allocations: 372.5 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1602, allocations: 62.53 kB / 0.7697 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1603, allocations: 52.95 kB / 0.7697 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.1603, allocations: 7.984 kB / 0.7697 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1604, allocations: 38.44 kB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1604, allocations: 0 / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004331/0.1608, allocations: 165.5 kB / 0.7699 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.1608, allocations: 59.34 kB / 0.77 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.1609, allocations: 135.5 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.161, allocations: 25.7 kB / 0.7701 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.161, allocations: 112.1 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1611, allocations: 23.7 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1611, allocations: 17.72 kB / 0.7703 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.1612, allocations: 322.8 kB / 0.7706 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1613, allocations: 43.97 kB / 0.7706 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.1614, allocations: 35.97 kB / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1616, allocations: 92.73 kB / 0.7707 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1616, allocations: 0 / 0.7707 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000246/0.1619, allocations: 125.5 kB / 0.7709 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1619, allocations: 12 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1619, allocations: 0 / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1619, allocations: 3.938 kB / 0.7709 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1621, allocations: 19.97 kB / 0.7709 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1621, allocations: 3.984 kB / 0.7709 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.1621, allocations: 11.94 kB / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1622, allocations: 7.984 kB / 0.7709 GB, free: 3.578 MB / 0.5606 GB 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 (6): * Single equations (assignments): 6 * 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.502e-05/0.1623, allocations: 122.4 kB / 0.771 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.1623, allocations: 11.91 kB / 0.771 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.1626, allocations: 134.3 kB / 0.7712 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1626, allocations: 3.938 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1626, allocations: 3.984 kB / 0.7712 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1627, allocations: 4 kB / 0.7712 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.1629, allocations: 202.1 kB / 0.7714 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1629, allocations: 0 / 0.7714 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.163, allocations: 19.98 kB / 0.7714 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.163, allocations: 0 / 0.7714 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.163, allocations: 11.92 kB / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.163, allocations: 7.938 kB / 0.7714 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.163, allocations: 0 / 0.7714 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.1633, allocations: 219.4 kB / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.1633, allocations: 85.02 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1634, allocations: 4 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.1635, allocations: 11.92 kB / 0.7717 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1635, allocations: 4 kB / 0.7717 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1635, allocations: 7.984 kB / 0.7717 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.1636, allocations: 101.3 kB / 0.7718 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1636, allocations: 3.938 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002293/0.1638, allocations: 19.91 kB / 0.7718 GB, free: 2.523 MB / 0.5606 GB 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 (6): * Single equations (assignments): 6 * 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.0005432/0.1644, allocations: 0.7631 MB / 0.7726 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.1646, allocations: 91.94 kB / 0.7727 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1647, allocations: 4 kB / 0.7727 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1648, allocations: 63.89 kB / 0.7727 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.165, allocations: 11.81 kB / 0.7728 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.31/0.475, allocations: 1.584 MB / 0.7743 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.4752, allocations: 0.7032 MB / 0.775 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.4754, allocations: 14.16 kB / 0.775 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.4754, allocations: 30.86 kB / 0.775 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.4754, allocations: 0.5938 kB / 0.775 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.4952, allocations: 2.033 MB / 0.777 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.603, allocations: 5.906 kB / 0.777 GB, free: 13.22 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)