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.0008115/0.0008115, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004731/0.004731, allocations: 170 kB / 16.26 MB, free: 6.613 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.553/2.553, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 12 kB / 0.8729 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5871, allocations: 153.8 MB / 1.023 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001965/0.5892, allocations: 1.161 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.5901, allocations: 367.7 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.5902, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.5902, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.5903, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.5907, allocations: 83.8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.5908, allocations: 19.92 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.5909, allocations: 8 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.591, allocations: 11.92 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.591, allocations: 7.984 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.591, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.5914, allocations: 131.8 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.5914, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.5914, allocations: 41.64 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.5917, allocations: 91.72 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5917, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5917, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5917, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 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.0005192/0.5922, allocations: 349.8 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5923, allocations: 12.03 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.5923, allocations: 38.75 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.5924, allocations: 0.9375 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5925, allocations: 176.3 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.5925, allocations: 384 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.5926, allocations: 384 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.5928, allocations: 50.25 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5928, allocations: 3.938 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5928, allocations: 3.984 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5928, allocations: 8 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.5931, allocations: 43.91 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.5935, allocations: 248.9 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.5937, allocations: 46.5 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.5938, allocations: 24.91 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008722/0.5947, allocations: 461.5 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.5948, allocations: 34.55 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 3.066e-06/0.5948, allocations: 7.938 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004804/0.5953, allocations: 101.6 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.5953, allocations: 51.41 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.5954, allocations: 97.86 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.5955, allocations: 25.7 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.5955, allocations: 92.25 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.5955, allocations: 3.906 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.5956, allocations: 13.72 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5957, allocations: 314.8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.5959, allocations: 19.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.596, allocations: 27.97 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.5962, allocations: 52.77 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5962, allocations: 3.938 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002777/0.5965, allocations: 77.72 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5965, allocations: 4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5965, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5965, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5967, allocations: 16.02 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5967, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.5968, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.5968, allocations: 0 / 1.027 GB, free: 11.42 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 9.542e-05/0.5969, allocations: 118.3 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.5969, allocations: 7.891 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.5972, allocations: 84.72 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5972, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5973, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5973, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.5975, allocations: 157.6 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5975, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.5976, allocations: 20.02 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5976, allocations: 4 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.5976, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5976, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5976, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.598, allocations: 175.4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.598, allocations: 85.11 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.5981, allocations: 3.938 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5982, allocations: 11.98 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.5982, allocations: 4 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.5982, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.5983, allocations: 87.3 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5983, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003878/0.5987, allocations: 28 kB / 1.028 GB, free: 10.55 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.0008908/0.5996, allocations: 0.7358 MB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.5999, allocations: 55.92 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5999, allocations: 0 / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.6, allocations: 23.98 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.6003, allocations: 13.78 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.6009, allocations: 146.5 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.6012, allocations: 0.677 MB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.6013, allocations: 0 / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.6013, allocations: 11.44 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6013, allocations: 0 / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.6158, allocations: 1.488 MB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.616, allocations: 193.8 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.339, allocations: 0 / 1.031 GB, free: 7.16 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