Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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.0007876/0.0007876, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00081/0.00081, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8827/0.8827, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001446/0.001446, allocations: 238.1 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6655/0.6655, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.866e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.001893/0.001911, allocations: 1.461 MB / 0.6477 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.002369, allocations: 319.8 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.002395, allocations: 4 kB / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.002423, allocations: 3.938 kB / 0.648 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.549e-05/0.002458, allocations: 0 / 0.648 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2415/0.2439, allocations: 100.8 kB / 0.6481 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.244, allocations: 20.7 kB / 0.6482 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2441, allocations: 7.203 kB / 0.6482 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.2442, allocations: 9.719 kB / 0.6482 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.2442, allocations: 7.406 kB / 0.6482 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2442, allocations: 3.5 kB / 0.6482 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.2444, allocations: 117.9 kB / 0.6483 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.2444, allocations: 6.594 kB / 0.6483 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.2445, allocations: 5.828 kB / 0.6483 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2447, allocations: 110.3 kB / 0.6484 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2447, allocations: 0.7969 kB / 0.6484 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2447, allocations: 0 / 0.6484 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2447, allocations: 1.312 kB / 0.6484 GB, free: 55.71 MB / 0.5573 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.0003767/0.2451, allocations: 273.6 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2451, allocations: 18.28 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.2452, allocations: 33.91 kB / 0.6487 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.2452, allocations: 4.703 kB / 0.6487 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.171e-05/0.2452, allocations: 110.8 kB / 0.6488 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.2452, allocations: 1.438 kB / 0.6488 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.2453, allocations: 1.938 kB / 0.6488 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2454, allocations: 53.72 kB / 0.6489 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2454, allocations: 0.75 kB / 0.6489 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.2454, allocations: 2.281 kB / 0.6489 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2454, allocations: 4.875 kB / 0.6489 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.2455, allocations: 37.03 kB / 0.6489 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.2458, allocations: 210.8 kB / 0.6491 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/0.2458, allocations: 39.42 kB / 0.6492 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.2459, allocations: 23.2 kB / 0.6492 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.2463, allocations: 77.47 kB / 0.6493 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.2463, allocations: 39.31 kB / 0.6493 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.704e-06/0.2463, allocations: 1.594 kB / 0.6493 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002395/0.2466, allocations: 84.11 kB / 0.6494 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.2466, allocations: 55.44 kB / 0.6494 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.2466, allocations: 100.8 kB / 0.6495 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.2466, allocations: 27.33 kB / 0.6496 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.2467, allocations: 82.16 kB / 0.6496 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2467, allocations: 9.859 kB / 0.6496 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.2467, allocations: 12.86 kB / 0.6497 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.739e-05/0.2467, allocations: 315.5 kB / 0.65 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.2468, allocations: 17.94 kB / 0.65 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.2468, allocations: 19.67 kB / 0.65 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.2469, allocations: 35.66 kB / 0.65 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2469, allocations: 0 / 0.65 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.247, allocations: 73.84 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.247, allocations: 7.438 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.247, allocations: 4.641 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.247, allocations: 0.875 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.2471, allocations: 7.844 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2471, allocations: 0 / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.2471, allocations: 7.25 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2471, allocations: 2.281 kB / 0.6501 GB, free: 54.26 MB / 0.5573 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 3.689e-05/0.2471, allocations: 114 kB / 0.6502 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.2472, allocations: 5.531 kB / 0.6502 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.2473, allocations: 72 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2473, allocations: 6.375 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2473, allocations: 0.6562 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2473, allocations: 0.9375 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.2474, allocations: 125.3 kB / 0.6504 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2474, allocations: 1.375 kB / 0.6504 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.2474, allocations: 13.94 kB / 0.6504 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2474, allocations: 4.719 kB / 0.6505 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2474, allocations: 1.562 kB / 0.6505 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2474, allocations: 2.156 kB / 0.6505 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2474, allocations: 0.8438 kB / 0.6505 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.2476, allocations: 162.5 kB / 0.6506 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.2476, allocations: 9.891 kB / 0.6506 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.2476, allocations: 1.297 kB / 0.6506 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.2476, allocations: 10.78 kB / 0.6506 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.2476, allocations: 3.312 kB / 0.6506 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2476, allocations: 0.9375 kB / 0.6506 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.714e-05/0.2477, allocations: 82.28 kB / 0.6507 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2477, allocations: 1.469 kB / 0.6507 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001994/0.2479, allocations: 33.47 kB / 0.6508 GB, free: 53.73 MB / 0.5573 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.0003582/0.2482, allocations: 0.7324 MB / 0.6515 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.2484, allocations: 38.88 kB / 0.6515 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2484, allocations: 3.75 kB / 0.6515 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.2484, allocations: 19.12 kB / 0.6515 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.2486, allocations: 3.719 kB / 0.6515 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.2489, allocations: 144 kB / 0.6517 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.249, allocations: 62.14 kB / 0.6517 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.249, allocations: 6.422 kB / 0.6517 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.249, allocations: 12.31 kB / 0.6517 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/0.249, allocations: 3.5 kB / 0.6517 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.2641, allocations: 2.447 MB / 0.6541 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.462/6.726, allocations: 11.84 kB / 0.6541 GB, free: 52.04 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.259550717659295] Failed to read output from testmodel.py, exit status != 0: 6.801918030716479 6.809319078 6.56295468 Calling exit ...