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.001709/0.001709, allocations: 116.1 kB / 17.17 MB, free: 6 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.002035/0.002035, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.00235/0.00235, allocations: 285.4 kB / 309.8 MB, free: 3.422 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.085/1.085, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",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.004461/0.004461, allocations: 111.8 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.5982, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002727/0.6009, allocations: 1.455 MB / 0.8292 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005275/0.6014, allocations: 250.8 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.6015, allocations: 2.844 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.6015, allocations: 0 / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.6015, allocations: 4.641 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.6019, allocations: 59.11 kB / 0.8295 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.602, allocations: 22.03 kB / 0.8295 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.6021, allocations: 8.828 kB / 0.8295 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.6021, allocations: 8.234 kB / 0.8296 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.6021, allocations: 10.36 kB / 0.8296 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.6022, allocations: 5.344 kB / 0.8296 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.6023, allocations: 62.89 kB / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.6023, allocations: 4.688 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.6023, allocations: 10.77 kB / 0.8296 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.6025, allocations: 52.25 kB / 0.8297 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6025, allocations: 0.6094 kB / 0.8297 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6025, allocations: 1.188 kB / 0.8297 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6025, allocations: 0 / 0.8297 GB, free: 1.766 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.0004303/0.6029, allocations: 347.3 kB / 0.83 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.603, allocations: 12.81 kB / 0.83 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.603, allocations: 192 / 0.83 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.947e-05/0.603, allocations: 31.41 kB / 0.8301 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.603, allocations: 7.141 kB / 0.8301 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.6031, allocations: 169.5 kB / 0.8302 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.6031, allocations: 4.312 kB / 0.8302 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.6031, allocations: 384 / 0.8302 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.6033, allocations: 57.05 kB / 0.8303 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6033, allocations: 0 / 0.8303 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6034, allocations: 4.75 kB / 0.8303 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6034, allocations: 3.188 kB / 0.8303 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.6035, allocations: 30.52 kB / 0.8303 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.6038, allocations: 255.7 kB / 0.8306 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.6039, allocations: 37.55 kB / 0.8306 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.604, allocations: 24.86 kB / 0.8306 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.6046, allocations: 458.4 kB / 0.8311 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.6046, allocations: 31.27 kB / 0.8311 GB, free: 268 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6046, allocations: 4 kB / 0.8311 GB, free: 264 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.605, allocations: 76.06 kB / 0.8312 GB, free: 228 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.605, allocations: 52.62 kB / 0.8312 GB, free: 164 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.605, allocations: 101.5 kB / 0.8313 GB, free: 60 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.605, allocations: 25.7 kB / 0.8313 GB, free: 28 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.6052, allocations: 97.17 kB / 0.8314 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.6052, allocations: 11.56 kB / 0.8315 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.6053, allocations: 11.67 kB / 0.8315 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.6055, allocations: 312.8 kB / 0.8318 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.6056, allocations: 18.77 kB / 0.8318 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.6056, allocations: 12.92 kB / 0.8318 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.6058, allocations: 49.23 kB / 0.8318 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6058, allocations: 0 / 0.8318 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.606, allocations: 65.59 kB / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.606, allocations: 4.188 kB / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.606, allocations: 0 / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.6061, allocations: 0.75 kB / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.6061, allocations: 12.75 kB / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.6062, allocations: 8.672 kB / 0.8319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.6062, allocations: 6.031 kB / 0.8319 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.6062, allocations: 3.375 kB / 0.8319 GB, free: 15.52 MB / 0.5919 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 0.0001025/0.6063, allocations: 110.4 kB / 0.832 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.6063, allocations: 2.188 kB / 0.832 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.6066, allocations: 70.06 kB / 0.8321 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.6066, allocations: 11.06 kB / 0.8321 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6066, allocations: 0 / 0.8321 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6066, allocations: 0.75 kB / 0.8321 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.6068, allocations: 161.9 kB / 0.8323 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6068, allocations: 0 / 0.8323 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.6068, allocations: 8.953 kB / 0.8323 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6068, allocations: 2.969 kB / 0.8323 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.6068, allocations: 0.6562 kB / 0.8323 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6068, allocations: 3.938 kB / 0.8323 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6068, allocations: 0 / 0.8323 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.6071, allocations: 171.3 kB / 0.8325 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.6071, allocations: 77.91 kB / 0.8325 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.6072, allocations: 2.625 kB / 0.8325 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.6072, allocations: 4.484 kB / 0.8325 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.6073, allocations: 7.438 kB / 0.8325 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.6073, allocations: 0 / 0.8325 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.6073, allocations: 94.16 kB / 0.8326 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6073, allocations: 0 / 0.8326 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000235/0.6076, allocations: 18.45 kB / 0.8327 GB, free: 14.82 MB / 0.5919 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.0007345/0.6083, allocations: 0.7103 MB / 0.8333 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.6085, allocations: 34.78 kB / 0.8334 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6085, allocations: 0 / 0.8334 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.467e-05/0.6086, allocations: 25.38 kB / 0.8334 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.6088, allocations: 3.078 kB / 0.8334 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.6093, allocations: 142.7 kB / 0.8335 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.6098, allocations: 0.6769 MB / 0.8342 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.6098, allocations: 0.7031 kB / 0.8342 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.6098, allocations: 14.12 kB / 0.8342 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6098, allocations: 0 / 0.8342 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.6292, allocations: 1.564 MB / 0.8357 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.82, allocations: 12.41 kB / 0.8358 GB, free: 12.86 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.96629029099131] Failed to read output from testmodel.py, exit status != 0: 8.943186527001671 8.97240819 8.36487898 Calling exit ...