Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.0008024/0.0008024, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008233/0.0008233, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8521/0.8521, allocations: 177.1 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.001542/0.001542, allocations: 247.9 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.6715/0.6715, 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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6463 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.24e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002037/0.002059, allocations: 1.468 MB / 0.6477 GB, free: 340 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000474/0.002533, allocations: 236.1 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.002562, allocations: 4 kB / 0.648 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.002591, allocations: 3.984 kB / 0.648 GB, free: 92 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.002636, allocations: 7.875 kB / 0.648 GB, free: 84 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.00303, allocations: 59.77 kB / 0.648 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.786e-05/0.003098, allocations: 23.91 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2423/0.2454, allocations: 4.547 kB / 0.6481 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.2455, allocations: 11.45 kB / 0.6481 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.2455, allocations: 5.125 kB / 0.6481 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2456, allocations: 2.25 kB / 0.6481 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.2458, allocations: 55.67 kB / 0.6481 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.2458, allocations: 9.453 kB / 0.6481 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.2458, allocations: 7.016 kB / 0.6481 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2461, allocations: 58.5 kB / 0.6482 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2461, allocations: 1.094 kB / 0.6482 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.108e-06/0.2461, allocations: 2.125 kB / 0.6482 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2461, allocations: 1.406 kB / 0.6482 GB, free: 55.51 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.0004506/0.2465, allocations: 266.9 kB / 0.6485 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.2466, allocations: 14 kB / 0.6485 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.2466, allocations: 34.7 kB / 0.6485 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.2467, allocations: 4.938 kB / 0.6485 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.2468, allocations: 110.8 kB / 0.6486 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2468, allocations: 3.141 kB / 0.6486 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.2468, allocations: 2.906 kB / 0.6486 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.247, allocations: 48.23 kB / 0.6487 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.247, allocations: 3.125 kB / 0.6487 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.247, allocations: 1.172 kB / 0.6487 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.247, allocations: 6.344 kB / 0.6487 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2471, allocations: 33 kB / 0.6487 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.2475, allocations: 214.4 kB / 0.6489 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2477, allocations: 36.48 kB / 0.6489 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.2477, allocations: 21.94 kB / 0.649 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/0.2483, allocations: 77.72 kB / 0.649 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2484, allocations: 40.53 kB / 0.6491 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.2484, allocations: 0.9062 kB / 0.6491 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002747/0.2486, allocations: 83.91 kB / 0.6492 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.2487, allocations: 55.16 kB / 0.6492 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.793e-05/0.2487, allocations: 101.8 kB / 0.6493 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.2487, allocations: 25.7 kB / 0.6493 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.2488, allocations: 84.95 kB / 0.6494 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2488, allocations: 5.953 kB / 0.6494 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.2488, allocations: 13.3 kB / 0.6494 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.2488, allocations: 318.2 kB / 0.6497 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.2489, allocations: 19.64 kB / 0.6498 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.2489, allocations: 17.62 kB / 0.6498 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.249, allocations: 40.12 kB / 0.6498 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.249, allocations: 0 / 0.6498 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.2491, allocations: 70.27 kB / 0.6499 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2492, allocations: 5.375 kB / 0.6499 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2492, allocations: 4.641 kB / 0.6499 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2492, allocations: 4.375 kB / 0.6499 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.2492, allocations: 9.797 kB / 0.6499 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2492, allocations: 0 / 0.6499 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.2493, allocations: 6.016 kB / 0.6499 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.2493, allocations: 6 kB / 0.6499 GB, free: 54.07 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 4.635e-05/0.2493, allocations: 114.7 kB / 0.65 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.2493, allocations: 4.5 kB / 0.65 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.2495, allocations: 73.47 kB / 0.6501 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2495, allocations: 1.031 kB / 0.6501 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2495, allocations: 1.219 kB / 0.6501 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2495, allocations: 0.5156 kB / 0.6501 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.436e-05/0.2496, allocations: 131.1 kB / 0.6502 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2496, allocations: 1.094 kB / 0.6502 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.2496, allocations: 8.312 kB / 0.6502 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2496, allocations: 6.938 kB / 0.6502 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2497, allocations: 0 / 0.6502 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2497, allocations: 0.6875 kB / 0.6502 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2497, allocations: 2.562 kB / 0.6502 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.2498, allocations: 168.5 kB / 0.6504 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.2498, allocations: 7.531 kB / 0.6504 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2498, allocations: 0 / 0.6504 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.2499, allocations: 7.328 kB / 0.6504 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2499, allocations: 2.094 kB / 0.6504 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2499, allocations: 0.75 kB / 0.6504 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.266e-05/0.2499, allocations: 85.17 kB / 0.6505 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2499, allocations: 0 / 0.6505 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000182/0.2501, allocations: 18.78 kB / 0.6505 GB, free: 53.55 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.0003482/0.2505, allocations: 0.7144 MB / 0.6512 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.2506, allocations: 36.39 kB / 0.6513 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2506, allocations: 0 / 0.6513 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.2506, allocations: 18.34 kB / 0.6513 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2508, allocations: 6.125 kB / 0.6513 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.2511, allocations: 139.9 kB / 0.6514 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.2512, allocations: 66.34 kB / 0.6515 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.2512, allocations: 1.703 kB / 0.6515 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.2512, allocations: 12.03 kB / 0.6515 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of SimCode: time 7.31e-07/0.2512, allocations: 0 / 0.6515 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.2672, allocations: 2.214 MB / 0.6537 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.38/6.648, allocations: 3.234 kB / 0.6537 GB, free: 51.87 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.18314011581242] Failed to read output from testmodel.py, exit status != 0: 6.725021396763623 6.73175554 6.483836069 Calling exit ...