Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.0008184/0.0008184, 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.0008234/0.0008234, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8592/0.8592, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001371/0.001371, allocations: 242.5 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.6145/0.6145, allocations: 138.4 MB / 454.3 MB, free: 1.594 MB / 362.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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.216e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001539/0.001551, allocations: 1.468 MB / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003689/0.00192, allocations: 225.9 kB / 0.648 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.001944, allocations: 0 / 0.648 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.001969, allocations: 4.906 kB / 0.648 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.002004, allocations: 11.86 kB / 0.648 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.002302, allocations: 55.11 kB / 0.648 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.002354, allocations: 19.45 kB / 0.648 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.002433, allocations: 7.031 kB / 0.648 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.002474, allocations: 16.44 kB / 0.6481 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.002502, allocations: 6.5 kB / 0.6481 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.002512, allocations: 1.531 kB / 0.6481 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.00261, allocations: 59.41 kB / 0.6481 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.002622, allocations: 5.156 kB / 0.6481 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.002638, allocations: 10.7 kB / 0.6481 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.002749, allocations: 61.16 kB / 0.6482 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002751, allocations: 0 / 0.6482 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/0.002752, allocations: 1.25 kB / 0.6482 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.002755, allocations: 0 / 0.6482 GB, free: 27.63 MB / 0.5105 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.0002673/0.003022, allocations: 266.6 kB / 0.6485 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.003055, allocations: 10.38 kB / 0.6485 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.193e-05/0.003077, allocations: 31.91 kB / 0.6485 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.8e-05/0.003095, allocations: 6.109 kB / 0.6485 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.881e-05/0.003144, allocations: 112 kB / 0.6486 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.003153, allocations: 4.375 kB / 0.6486 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.003161, allocations: 2.344 kB / 0.6486 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.003265, allocations: 49.27 kB / 0.6487 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.003272, allocations: 1.281 kB / 0.6487 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.00328, allocations: 4.312 kB / 0.6487 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003284, allocations: 4.125 kB / 0.6487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.003371, allocations: 34.64 kB / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.003573, allocations: 212.8 kB / 0.6489 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.003639, allocations: 42.59 kB / 0.6489 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.003678, allocations: 22.72 kB / 0.649 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.003972, allocations: 73.62 kB / 0.649 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.003985, allocations: 41.16 kB / 0.6491 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003986, allocations: 0 / 0.6491 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001974/0.004184, allocations: 87.56 kB / 0.6492 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.484e-05/0.004198, allocations: 52.53 kB / 0.6492 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.363e-05/0.004232, allocations: 98.7 kB / 0.6493 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-06/0.004237, allocations: 26.86 kB / 0.6493 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.864e-05/0.004255, allocations: 81.55 kB / 0.6494 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.004268, allocations: 11.88 kB / 0.6494 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.004294, allocations: 25.62 kB / 0.6494 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.57e-05/0.00432, allocations: 310.8 kB / 0.6497 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.004356, allocations: 13.36 kB / 0.6498 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.004389, allocations: 17.7 kB / 0.6498 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/0.004459, allocations: 40.06 kB / 0.6498 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.004461, allocations: 0 / 0.6498 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.682e-05/0.004547, allocations: 76.47 kB / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.004559, allocations: 6.812 kB / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004563, allocations: 0 / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.004573, allocations: 0.9688 kB / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.004619, allocations: 6.094 kB / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.004623, allocations: 0 / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.004643, allocations: 8.109 kB / 0.6499 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.004648, allocations: 8 kB / 0.6499 GB, free: 25.94 MB / 0.5105 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 2.955e-05/0.004677, allocations: 113.4 kB / 0.65 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.004688, allocations: 5.312 kB / 0.65 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.004799, allocations: 74.2 kB / 0.6501 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.0048, allocations: 1.219 kB / 0.6501 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.004804, allocations: 192 / 0.6501 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.004807, allocations: 3.938 kB / 0.6501 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.725e-05/0.004884, allocations: 129.5 kB / 0.6502 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.004885, allocations: 1.5 kB / 0.6502 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.004907, allocations: 13 kB / 0.6502 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.00491, allocations: 5.125 kB / 0.6502 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.004915, allocations: 0 / 0.6502 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.004916, allocations: 1.188 kB / 0.6502 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004917, allocations: 0 / 0.6502 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.336e-05/0.00501, allocations: 163.2 kB / 0.6504 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-06/0.005014, allocations: 9.328 kB / 0.6504 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.005023, allocations: 1.25 kB / 0.6504 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.005057, allocations: 8.281 kB / 0.6504 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.005088, allocations: 9.078 kB / 0.6504 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.005089, allocations: 0 / 0.6504 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.341e-05/0.005103, allocations: 78.78 kB / 0.6505 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005103, allocations: 1.5 kB / 0.6505 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001581/0.005261, allocations: 17.88 kB / 0.6505 GB, free: 25.33 MB / 0.5105 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.0002444/0.005505, allocations: 0.7167 MB / 0.6512 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.005612, allocations: 33.62 kB / 0.6513 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005613, allocations: 0 / 0.6513 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.00565, allocations: 27.44 kB / 0.6513 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.005802, allocations: 5.531 kB / 0.6513 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.00606, allocations: 131.8 kB / 0.6514 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.006085, allocations: 60.78 kB / 0.6515 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.331e-05/0.006098, allocations: 1.531 kB / 0.6515 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.006122, allocations: 14.03 kB / 0.6515 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.006122, allocations: 0 / 0.6515 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.02001, allocations: 2.202 MB / 0.6536 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.426/6.446, allocations: 17.08 kB / 0.6536 GB, free: 22.96 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.055577742867172] Failed to read output from testmodel.py, exit status != 0: 6.521347219124436 6.528091217 6.523973376 Calling exit ...