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.0007382/0.0007382, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0007635/0.0007635, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8718/0.8718, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001428/0.001428, allocations: 241.8 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.6598/0.6598, 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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.184e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.00157/0.001582, allocations: 1.461 MB / 0.6477 GB, free: 396 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004483/0.00203, allocations: 331.7 kB / 0.648 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.002053, allocations: 0 / 0.648 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.002076, allocations: 3.938 kB / 0.648 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.002118, allocations: 11.94 kB / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2313/0.2334, allocations: 96.2 kB / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.2335, allocations: 25.11 kB / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.2336, allocations: 4.172 kB / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.2336, allocations: 14.17 kB / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.2337, allocations: 6.094 kB / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2337, allocations: 2.375 kB / 0.6482 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2338, allocations: 125.8 kB / 0.6483 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2339, allocations: 7.953 kB / 0.6483 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.2339, allocations: 4.656 kB / 0.6483 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.2341, allocations: 110.3 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2341, allocations: 1.766 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2341, allocations: 0 / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2341, allocations: 0.6562 kB / 0.6484 GB, free: 55.91 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.000306/0.2344, allocations: 281.6 kB / 0.6487 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2344, allocations: 11.62 kB / 0.6487 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.31e-05/0.2344, allocations: 32.91 kB / 0.6488 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.2345, allocations: 4.938 kB / 0.6488 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.566e-05/0.2345, allocations: 108 kB / 0.6489 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.2345, allocations: 1.781 kB / 0.6489 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.2345, allocations: 2.562 kB / 0.6489 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2346, allocations: 52.33 kB / 0.6489 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.2346, allocations: 1.156 kB / 0.6489 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2347, allocations: 1.281 kB / 0.6489 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2347, allocations: 4.125 kB / 0.6489 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.2348, allocations: 38.56 kB / 0.649 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.235, allocations: 213.6 kB / 0.6492 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.2351, allocations: 37.73 kB / 0.6492 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.2351, allocations: 26.3 kB / 0.6492 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/0.2355, allocations: 86.31 kB / 0.6493 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.2355, allocations: 38.75 kB / 0.6493 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2355, allocations: 0.5938 kB / 0.6493 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002076/0.2357, allocations: 84.73 kB / 0.6494 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.2357, allocations: 60.34 kB / 0.6495 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.475e-05/0.2358, allocations: 102.8 kB / 0.6496 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-06/0.2358, allocations: 25.7 kB / 0.6496 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.2358, allocations: 80.84 kB / 0.6497 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.2358, allocations: 11.28 kB / 0.6497 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.2358, allocations: 11.62 kB / 0.6497 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.588e-05/0.2359, allocations: 316.1 kB / 0.65 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.2359, allocations: 17.95 kB / 0.65 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.2359, allocations: 16.72 kB / 0.65 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.099e-05/0.236, allocations: 41.14 kB / 0.6501 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.236, allocations: 0 / 0.6501 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.931e-05/0.2361, allocations: 70.69 kB / 0.6501 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2361, allocations: 6.062 kB / 0.6501 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2361, allocations: 1.688 kB / 0.6501 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2361, allocations: 4.938 kB / 0.6502 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.2362, allocations: 8.703 kB / 0.6502 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2362, allocations: 0.6094 kB / 0.6502 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.2362, allocations: 12.89 kB / 0.6502 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2362, allocations: 0.875 kB / 0.6502 GB, free: 54.46 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.552e-05/0.2363, allocations: 114.1 kB / 0.6503 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.2363, allocations: 5.844 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2364, allocations: 73.81 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2364, allocations: 0.7969 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2364, allocations: 0.8125 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2364, allocations: 2.719 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.503e-05/0.2365, allocations: 123.5 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2365, allocations: 2.094 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.2365, allocations: 9.016 kB / 0.6505 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2365, allocations: 5.156 kB / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.2365, allocations: 1.359 kB / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.2365, allocations: 2.469 kB / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-07/0.2365, allocations: 0 / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.2366, allocations: 165.8 kB / 0.6507 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.2366, allocations: 6.25 kB / 0.6507 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.2366, allocations: 2.641 kB / 0.6507 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.531e-05/0.2367, allocations: 10.36 kB / 0.6507 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2367, allocations: 5.094 kB / 0.6507 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.2367, allocations: 4.188 kB / 0.6507 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.189e-05/0.2367, allocations: 80.58 kB / 0.6508 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2367, allocations: 0 / 0.6508 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001747/0.2369, allocations: 29.91 kB / 0.6508 GB, free: 53.94 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.0003164/0.2372, allocations: 0.737 MB / 0.6515 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.2373, allocations: 40.91 kB / 0.6516 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.2373, allocations: 1.375 kB / 0.6516 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.2374, allocations: 21.08 kB / 0.6516 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.2375, allocations: 4.75 kB / 0.6516 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.2378, allocations: 144.4 kB / 0.6517 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.791e-05/0.2378, allocations: 59.61 kB / 0.6518 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.2378, allocations: 3.281 kB / 0.6518 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.2379, allocations: 11.52 kB / 0.6518 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/0.2379, allocations: 7.625 kB / 0.6518 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.2521, allocations: 2.467 MB / 0.6542 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.473/6.725, allocations: 3.938 kB / 0.6542 GB, free: 52.23 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.249650214798748] Failed to read output from testmodel.py, exit status != 0: 6.80337842181325 6.811474791 6.575750596 Calling exit ...