Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",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.006034/0.006034, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001349/0.001349, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 294.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9171/0.9171, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 111.9 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1533, allocations: 86.97 MB / 0.7659 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001602/0.1549, allocations: 0.573 MB / 0.7665 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004409/0.1554, allocations: 199.3 kB / 0.7667 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.307e-05/0.1554, allocations: 4 kB / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1554, allocations: 0 / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.1555, allocations: 0 / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1559, allocations: 51.81 kB / 0.7667 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.794e-05/0.1559, allocations: 0 / 0.7667 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.1559, allocations: 4 kB / 0.7668 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.156, allocations: 0 / 0.7668 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.728e-05/0.156, allocations: 0 / 0.7668 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.004e-06/0.156, allocations: 0 / 0.7668 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1562, allocations: 75.86 kB / 0.7668 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.772e-06/0.1562, allocations: 0 / 0.7668 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.1562, allocations: 0 / 0.7668 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1563, allocations: 39.88 kB / 0.7669 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1563, allocations: 0 / 0.7669 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1563, allocations: 0 / 0.7669 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1563, allocations: 0 / 0.7669 GB, free: 7.926 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002859/0.1566, allocations: 319.6 kB / 0.7672 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1567, allocations: 8.031 kB / 0.7672 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1567, allocations: 34.75 kB / 0.7672 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.914e-05/0.1567, allocations: 4.938 kB / 0.7672 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.1568, allocations: 164.4 kB / 0.7674 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.1569, allocations: 4.312 kB / 0.7674 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1569, allocations: 4.375 kB / 0.7674 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.157, allocations: 34.19 kB / 0.7674 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.157, allocations: 3.938 kB / 0.7674 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.157, allocations: 0 / 0.7674 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.157, allocations: 4 kB / 0.7674 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.157, allocations: 0 / 0.7674 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.1571, allocations: 145.7 kB / 0.7676 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.1572, allocations: 22.61 kB / 0.7676 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.1572, allocations: 4.859 kB / 0.7676 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.158, allocations: 461.5 kB / 0.768 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.158, allocations: 38.5 kB / 0.7681 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.158, allocations: 0 / 0.7681 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.1581, allocations: 41.62 kB / 0.7681 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.1582, allocations: 51.41 kB / 0.7681 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.34e-05/0.1582, allocations: 89.86 kB / 0.7682 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1582, allocations: 25.7 kB / 0.7683 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.1582, allocations: 80.27 kB / 0.7683 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1583, allocations: 12.12 kB / 0.7683 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.1583, allocations: 13.72 kB / 0.7684 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.1584, allocations: 310.8 kB / 0.7687 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.1584, allocations: 0 / 0.7687 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.032e-05/0.1584, allocations: 7.938 kB / 0.7687 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.1585, allocations: 12.8 kB / 0.7687 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1585, allocations: 0 / 0.7687 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.121e-05/0.1585, allocations: 37.75 kB / 0.7687 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1586, allocations: 8 kB / 0.7687 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1586, allocations: 3.938 kB / 0.7687 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1586, allocations: 0 / 0.7687 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.284e-05/0.1586, allocations: 0 / 0.7687 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1586, allocations: 4 kB / 0.7687 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-06/0.1586, allocations: 0 / 0.7687 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1586, allocations: 0 / 0.7687 GB, free: 5.688 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 (1): * Single equations (assignments): 1 * 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.423e-05/0.1587, allocations: 106.5 kB / 0.7688 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.1587, allocations: 4.031 kB / 0.7688 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.1588, allocations: 48.69 kB / 0.7689 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1588, allocations: 0 / 0.7689 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1588, allocations: 4 kB / 0.7689 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1588, allocations: 0 / 0.7689 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.908e-05/0.1589, allocations: 145.7 kB / 0.769 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1589, allocations: 0 / 0.769 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.159, allocations: 0 / 0.769 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.159, allocations: 7.938 kB / 0.769 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.159, allocations: 3.938 kB / 0.769 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.159, allocations: 8.031 kB / 0.769 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.159, allocations: 0 / 0.769 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.887e-05/0.1591, allocations: 57.08 kB / 0.7691 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1591, allocations: 85.09 kB / 0.7692 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.1591, allocations: 3.938 kB / 0.7692 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-06/0.1591, allocations: 0 / 0.7692 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1591, allocations: 0 / 0.7692 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.1591, allocations: 0 / 0.7692 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.43e-05/0.1592, allocations: 79.31 kB / 0.7693 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1592, allocations: 0 / 0.7693 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002076/0.1594, allocations: 16 kB / 0.7693 GB, free: 5.031 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 (1): * Single equations (assignments): 1 * 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.0003832/0.1598, allocations: 0.6125 MB / 0.7699 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.752e-05/0.1598, allocations: 11.94 kB / 0.7699 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1599, allocations: 0 / 0.7699 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.1599, allocations: 7.938 kB / 0.7699 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.16, allocations: 0 / 0.7699 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.1603, allocations: 114.8 kB / 0.77 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1605, allocations: 0.6768 MB / 0.7707 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.287e-06/0.1605, allocations: 0 / 0.7707 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.1605, allocations: 7.438 kB / 0.7707 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1605, allocations: 0 / 0.7707 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.1764, allocations: 1.169 MB / 0.7718 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.17, allocations: 22.06 kB / 0.7718 GB, free: 2.426 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)