Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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.001165/0.001165, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001479/0.001479, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.00035, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9183/0.9186, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00181/0.9205, allocations: 1.145 MB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007332/0.9213, allocations: 336.6 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.9213, allocations: 1 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.9213, allocations: 3.938 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.9214, allocations: 1.031 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.9219, allocations: 78.84 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.922, allocations: 17.53 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.9221, allocations: 1.281 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.9222, allocations: 8.125 kB / 0.9551 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.9222, allocations: 10.7 kB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.9223, allocations: 4 kB / 0.9551 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.9226, allocations: 137.9 kB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.9226, allocations: 0 / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.9226, allocations: 27.89 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.9228, allocations: 64.14 kB / 0.9554 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9228, allocations: 0 / 0.9554 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9228, allocations: 3.938 kB / 0.9554 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.9228, allocations: 0 / 0.9554 GB, free: 6.688 MB / 0.7169 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.0004952/0.9233, allocations: 355.8 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9234, allocations: 8.781 kB / 0.9557 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.9235, allocations: 35.78 kB / 0.9558 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.9235, allocations: 5.203 kB / 0.9558 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.9236, allocations: 168.2 kB / 0.9559 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.9236, allocations: 1.062 kB / 0.9559 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.9237, allocations: 1.219 kB / 0.9559 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.9239, allocations: 59.36 kB / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.9239, allocations: 0 / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.9239, allocations: 0 / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.9239, allocations: 1.469 kB / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.9241, allocations: 51.55 kB / 0.956 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.9245, allocations: 248.7 kB / 0.9563 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.9246, allocations: 40.09 kB / 0.9563 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.9253, allocations: 473.6 kB / 0.9568 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.9254, allocations: 35.78 kB / 0.9568 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9254, allocations: 0 / 0.9568 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003864/0.9258, allocations: 114.7 kB / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.9258, allocations: 52.84 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.9259, allocations: 102.4 kB / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.9259, allocations: 25.7 kB / 0.9571 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.9259, allocations: 85.58 kB / 0.9571 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.926, allocations: 5.375 kB / 0.9572 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.926, allocations: 0 / 0.9572 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.926, allocations: 316 kB / 0.9575 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.9261, allocations: 21.45 kB / 0.9575 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.459e-05/0.9262, allocations: 22.39 kB / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.297e-05/0.9263, allocations: 22.05 kB / 0.9575 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9263, allocations: 0 / 0.9575 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.9265, allocations: 85.53 kB / 0.9576 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.9265, allocations: 7.312 kB / 0.9576 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.9266, allocations: 0 / 0.9576 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.9266, allocations: 0 / 0.9576 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.9267, allocations: 16.66 kB / 0.9576 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.9267, allocations: 5.531 kB / 0.9576 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.9267, allocations: 9.578 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.9267, allocations: 0 / 0.9576 GB, free: 4.359 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.9268, allocations: 112.7 kB / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.9268, allocations: 1.25 kB / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.9271, allocations: 84.06 kB / 0.9578 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.9271, allocations: 0 / 0.9578 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.9271, allocations: 3.953 kB / 0.9578 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9271, allocations: 1.375 kB / 0.9578 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.9272, allocations: 156.9 kB / 0.958 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9273, allocations: 1.312 kB / 0.958 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.9273, allocations: 8.094 kB / 0.958 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9273, allocations: 4.031 kB / 0.958 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.9273, allocations: 5.469 kB / 0.958 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.9273, allocations: 3.984 kB / 0.958 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9273, allocations: 0 / 0.958 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.9276, allocations: 175.9 kB / 0.9582 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.9276, allocations: 81.09 kB / 0.9582 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.9276, allocations: 0 / 0.9582 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.9277, allocations: 8.906 kB / 0.9583 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.9278, allocations: 11.67 kB / 0.9583 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.9278, allocations: 0 / 0.9583 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.9278, allocations: 81.56 kB / 0.9583 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9278, allocations: 7.969 kB / 0.9584 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002825/0.9281, allocations: 31.48 kB / 0.9584 GB, free: 3.613 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006031/0.9287, allocations: 0.7384 MB / 0.9591 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.9289, allocations: 46.06 kB / 0.9591 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.9289, allocations: 1.531 kB / 0.9591 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.929, allocations: 28.48 kB / 0.9592 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.9292, allocations: 12.05 kB / 0.9592 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.9296, allocations: 140 kB / 0.9593 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.9298, allocations: 0.6822 MB / 0.96 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.9298, allocations: 1.812 kB / 0.96 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.9298, allocations: 13.25 kB / 0.96 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.9298, allocations: 0 / 0.96 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.9427, allocations: 1.492 MB / 0.9615 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.9429, allocations: 172 kB / 0.9616 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.68, allocations: 1.375 kB / 0.9616 GB, free: 1.051 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat