Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 213.1 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002406/0.002406, allocations: 289.2 kB / 313.5 MB, free: 2.895 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.298/1.298, allocations: 180.6 MB / 0.5377 GB, free: 13.03 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004052/0.004052, allocations: 103.1 kB / 0.7404 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2298, allocations: 95.39 MB / 0.8335 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002617/0.2324, allocations: 1.467 MB / 0.8349 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.2331, allocations: 377.2 kB / 0.8353 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.2331, allocations: 0 / 0.8353 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.2331, allocations: 4 kB / 0.8353 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.2332, allocations: 3.938 kB / 0.8353 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.2336, allocations: 103.7 kB / 0.8354 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.193e-05/0.2337, allocations: 19.94 kB / 0.8354 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.2337, allocations: 3.984 kB / 0.8354 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.2338, allocations: 8 kB / 0.8354 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.2338, allocations: 19.86 kB / 0.8355 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.2338, allocations: 4 kB / 0.8355 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.2341, allocations: 131.7 kB / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.2341, allocations: 0 / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.2341, allocations: 19.92 kB / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.2343, allocations: 88.02 kB / 0.8357 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2343, allocations: 0 / 0.8357 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2343, allocations: 0 / 0.8357 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2343, allocations: 0 / 0.8357 GB, free: 6.371 MB / 0.5762 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.0004389/0.2347, allocations: 274.2 kB / 0.8359 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2348, allocations: 13.34 kB / 0.836 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.376e-05/0.2348, allocations: 4.125 kB / 0.836 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.2348, allocations: 42.73 kB / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2348, allocations: 4.891 kB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.801e-05/0.2349, allocations: 110.5 kB / 0.8361 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.2349, allocations: 384 / 0.8361 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.235, allocations: 384 / 0.8361 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.2351, allocations: 53.98 kB / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2351, allocations: 0 / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2351, allocations: 0 / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2351, allocations: 0 / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.2353, allocations: 35.97 kB / 0.8362 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.2356, allocations: 223.9 kB / 0.8364 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2358, allocations: 38.55 kB / 0.8364 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.2358, allocations: 24.91 kB / 0.8365 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.2364, allocations: 95.89 kB / 0.8366 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2364, allocations: 30.56 kB / 0.8366 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2364, allocations: 4 kB / 0.8366 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003551/0.2368, allocations: 89.52 kB / 0.8367 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.2368, allocations: 51.41 kB / 0.8367 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.2369, allocations: 93.86 kB / 0.8368 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.2369, allocations: 25.7 kB / 0.8368 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.237, allocations: 92.22 kB / 0.8369 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.237, allocations: 7.953 kB / 0.8369 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.237, allocations: 13.7 kB / 0.837 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2372, allocations: 318.8 kB / 0.8373 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.2373, allocations: 11.98 kB / 0.8373 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.2373, allocations: 15.98 kB / 0.8373 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.2375, allocations: 48.81 kB / 0.8373 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2375, allocations: 0 / 0.8373 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.2377, allocations: 65.61 kB / 0.8374 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2377, allocations: 7.984 kB / 0.8374 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2377, allocations: 3.938 kB / 0.8374 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2377, allocations: 0 / 0.8374 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.2378, allocations: 8 kB / 0.8374 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2378, allocations: 4.031 kB / 0.8374 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.2379, allocations: 11.98 kB / 0.8374 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.2379, allocations: 0 / 0.8374 GB, free: 4.387 MB / 0.5762 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 8.806e-05/0.238, allocations: 114.4 kB / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.238, allocations: 4 kB / 0.8375 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.2382, allocations: 72.89 kB / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2382, allocations: 4.031 kB / 0.8376 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2382, allocations: 0 / 0.8376 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2382, allocations: 0 / 0.8376 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2384, allocations: 132.7 kB / 0.8377 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2384, allocations: 0 / 0.8377 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.2384, allocations: 7.984 kB / 0.8377 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2384, allocations: 0 / 0.8377 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2384, allocations: 4 kB / 0.8378 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2384, allocations: 0 / 0.8378 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2384, allocations: 3.984 kB / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.2387, allocations: 171.4 kB / 0.8379 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.2387, allocations: 3.938 kB / 0.8379 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.2387, allocations: 0 / 0.8379 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.2388, allocations: 11.92 kB / 0.8379 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.2388, allocations: 4 kB / 0.8379 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.2388, allocations: 4 kB / 0.8379 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.2389, allocations: 83.3 kB / 0.838 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2389, allocations: 0 / 0.838 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002545/0.2391, allocations: 27.94 kB / 0.838 GB, free: 3.672 MB / 0.5762 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.0007724/0.2399, allocations: 0.7318 MB / 0.8388 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.2402, allocations: 43.89 kB / 0.8388 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2402, allocations: 0 / 0.8388 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.2402, allocations: 19.98 kB / 0.8388 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2405, allocations: 4 kB / 0.8388 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.2409, allocations: 143.2 kB / 0.839 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2412, allocations: 0.6729 MB / 0.8396 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.2412, allocations: 4.125 kB / 0.8396 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.2412, allocations: 11.44 kB / 0.8396 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.2412, allocations: 0 / 0.8396 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.2638, allocations: 1.925 MB / 0.8415 GB, free: 180 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.31, allocations: 10.92 kB / 0.8415 GB, free: 172 kB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.72121743101161] Failed to read output from testmodel.py, exit status != 0: 11.478615838976111 11.503887036 11.265401498 Calling exit ...