Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY0",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.001894/0.001894, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002251/0.002251, allocations: 192.6 kB / 16.13 MB, free: 6.645 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5454, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002452/0.5479, allocations: 1.492 MB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006392/0.5485, allocations: 363.8 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.5486, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.5486, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.5487, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.549, allocations: 79.8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.5491, allocations: 19.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.364e-05/0.5492, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.5492, allocations: 19.91 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.5492, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.5492, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.5495, allocations: 131.8 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.5495, allocations: 3.984 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.5495, allocations: 19.92 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.5497, allocations: 87.75 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5497, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5497, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5497, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004167/0.5501, allocations: 353.8 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5502, allocations: 8.031 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.5502, allocations: 30.75 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.5502, allocations: 8.844 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5504, allocations: 176.2 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.5504, allocations: 384 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5504, allocations: 4.375 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.5505, allocations: 50.23 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5506, allocations: 3.938 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.5506, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5506, allocations: 4 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.5508, allocations: 31.97 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.551, allocations: 252.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.5512, allocations: 42.44 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.5513, allocations: 20.91 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/0.5519, allocations: 465.4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5519, allocations: 30.56 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5519, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003246/0.5523, allocations: 89.58 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.5523, allocations: 51.41 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/0.5524, allocations: 101.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.5524, allocations: 29.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.5524, allocations: 80.14 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.5524, allocations: 3.906 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5525, allocations: 13.72 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.03e-05/0.5526, allocations: 319 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.5526, allocations: 15.97 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.5527, allocations: 19.98 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.5529, allocations: 32.83 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5529, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.5531, allocations: 77.75 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5531, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5531, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.5531, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.5532, allocations: 11.97 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5532, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.5533, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.5533, allocations: 3.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.664e-05/0.5533, allocations: 122.3 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.5534, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.5536, allocations: 68.78 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5536, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5536, allocations: 3.938 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5536, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.5537, allocations: 165.6 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5538, allocations: 4 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.5538, allocations: 11.94 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5538, allocations: 0 / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5538, allocations: 4 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5538, allocations: 3.984 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5539, allocations: 4 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.5541, allocations: 167.4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.5541, allocations: 81.09 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.5541, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.5542, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.5543, allocations: 11.98 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.5543, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.5543, allocations: 79.28 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.024e-06/0.5543, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002572/0.5546, allocations: 35.88 kB / 1.022 GB, free: 13.09 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0006009/0.5552, allocations: 0.7281 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.5554, allocations: 35.95 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5554, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.5555, allocations: 23.92 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.5557, allocations: 10.94 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.5561, allocations: 145.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.5563, allocations: 0.677 MB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.5564, allocations: 4 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.5564, allocations: 11.38 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5564, allocations: 0 / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.5679, allocations: 1.548 MB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.5681, allocations: 188.5 kB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.217, allocations: 0 / 1.025 GB, free: 9.648 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat