Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.855/2.855, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 190 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.259/2.259, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 97.02 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005255, allocations: 13.06 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001678/0.2371, allocations: 1.144 MB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.2379, allocations: 333 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.238, allocations: 0 / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.238, allocations: 0 / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.2381, allocations: 8 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.2385, allocations: 80.89 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.2386, allocations: 8 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.2387, allocations: 7.984 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.2388, allocations: 15.92 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.2388, allocations: 3.984 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2388, allocations: 4 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.2391, allocations: 131.8 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.2392, allocations: 3.984 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.2392, allocations: 33.64 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2394, allocations: 55.91 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2394, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2394, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2394, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 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.0005055/0.2399, allocations: 363.5 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.24, allocations: 12.02 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.24, allocations: 34.56 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2401, allocations: 0 / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2402, allocations: 163 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2402, allocations: 4 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2402, allocations: 3.938 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.2405, allocations: 53.67 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2405, allocations: 7.938 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2405, allocations: 0 / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-06/0.2405, allocations: 3.938 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.2408, allocations: 43.95 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.2412, allocations: 252.9 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.2414, allocations: 42.55 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/0.2423, allocations: 477.5 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2424, allocations: 34.5 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.274e-06/0.2424, allocations: 0 / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005448/0.2429, allocations: 101.5 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.243, allocations: 51.41 kB / 0.9816 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.2431, allocations: 105.8 kB / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2431, allocations: 25.7 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.2431, allocations: 84.27 kB / 0.9818 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2432, allocations: 3.906 kB / 0.9818 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.2432, allocations: 0 / 0.9818 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.2432, allocations: 322.8 kB / 0.9821 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2434, allocations: 15.98 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2436, allocations: 31.97 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.2437, allocations: 19.92 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2437, allocations: 0 / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003121/0.2441, allocations: 77.72 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2441, allocations: 8 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2441, allocations: 0 / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2441, allocations: 0 / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2443, allocations: 8 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2443, allocations: 0 / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.2444, allocations: 20.02 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2444, allocations: 3.984 kB / 0.9823 GB, free: 23.82 MB / 0.6198 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.965e-05/0.2445, allocations: 115.8 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.2445, allocations: 4 kB / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.2449, allocations: 92.7 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2449, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2449, allocations: 4 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2449, allocations: 3.938 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.2451, allocations: 161.6 kB / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2451, allocations: 0 / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.2452, allocations: 11.98 kB / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.2452, allocations: 0 / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.2452, allocations: 0 / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2453, allocations: 4.031 kB / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2453, allocations: 0 / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.2456, allocations: 183.3 kB / 0.9829 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.2456, allocations: 81.14 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2457, allocations: 3.938 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.2458, allocations: 11.98 kB / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.2459, allocations: 0 / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2459, allocations: 0 / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.2459, allocations: 83.27 kB / 0.983 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2459, allocations: 0 / 0.983 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003553/0.2463, allocations: 32 kB / 0.9831 GB, free: 22.94 MB / 0.6198 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.0007541/0.2471, allocations: 0.7359 MB / 0.9838 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.2474, allocations: 55.89 kB / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2474, allocations: 0 / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2476, allocations: 19.98 kB / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2478, allocations: 4 kB / 0.9839 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.2484, allocations: 154.4 kB / 0.984 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.2485, allocations: 0.677 MB / 0.9847 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.2486, allocations: 4 kB / 0.9847 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.2486, allocations: 11.42 kB / 0.9847 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2486, allocations: 0 / 0.9847 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.2712, allocations: 1.497 MB / 0.9862 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/0.2715, allocations: 174.5 kB / 0.9863 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.636, allocations: 0 / 0.9863 GB, free: 19.57 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)