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.001308/0.001308, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.002089/0.002089, allocations: 223.4 kB / 22.26 MB, free: 5.211 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.98 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.002499/0.002499, allocations: 286.3 kB / 312.7 MB, free: 2.797 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.266/1.266, allocations: 180.6 MB / 0.5369 GB, free: 12.96 MB / 382.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.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: 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.004922/0.004922, allocations: 99.38 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.213, allocations: 95.39 MB / 0.8327 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.003052/0.216, allocations: 1.464 MB / 0.8342 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005936/0.2166, allocations: 260 kB / 0.8344 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.2167, allocations: 0 / 0.8344 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.2167, allocations: 0 / 0.8344 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.509e-05/0.2167, allocations: 3.938 kB / 0.8344 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.2171, allocations: 63.81 kB / 0.8345 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.87e-05/0.2172, allocations: 19.88 kB / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.2173, allocations: 11.97 kB / 0.8345 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.2174, allocations: 8 kB / 0.8345 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.2174, allocations: 15.92 kB / 0.8345 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2174, allocations: 4 kB / 0.8345 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.2176, allocations: 59.89 kB / 0.8346 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.2176, allocations: 7.984 kB / 0.8346 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.2176, allocations: 3.938 kB / 0.8346 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2178, allocations: 56.14 kB / 0.8347 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2178, allocations: 0 / 0.8347 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2178, allocations: 0 / 0.8347 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2178, allocations: 0 / 0.8347 GB, free: 6.617 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.0005201/0.2183, allocations: 274.2 kB / 0.8349 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.2183, allocations: 9.344 kB / 0.8349 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.2184, allocations: 34.73 kB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.2184, allocations: 8.891 kB / 0.835 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2185, allocations: 106.5 kB / 0.8351 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2186, allocations: 8.312 kB / 0.8351 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.2186, allocations: 384 / 0.8351 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.2187, allocations: 51.91 kB / 0.8351 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2188, allocations: 7.922 kB / 0.8351 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.2188, allocations: 4 kB / 0.8351 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2188, allocations: 0 / 0.8351 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.2189, allocations: 35.95 kB / 0.8352 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.2193, allocations: 216 kB / 0.8354 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2194, allocations: 46.44 kB / 0.8354 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.2195, allocations: 16.91 kB / 0.8354 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.2201, allocations: 83.91 kB / 0.8355 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.2201, allocations: 34.56 kB / 0.8356 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.2201, allocations: 0 / 0.8356 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003553/0.2205, allocations: 81.64 kB / 0.8356 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.2205, allocations: 55.34 kB / 0.8357 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.2206, allocations: 105.8 kB / 0.8358 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.2207, allocations: 29.64 kB / 0.8358 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.2208, allocations: 88.22 kB / 0.8359 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.2208, allocations: 7.953 kB / 0.8359 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2208, allocations: 13.72 kB / 0.8359 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.221, allocations: 314.8 kB / 0.8362 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.2211, allocations: 15.98 kB / 0.8362 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.2212, allocations: 15.98 kB / 0.8363 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2213, allocations: 36.89 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2213, allocations: 3.938 kB / 0.8363 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.2215, allocations: 73.59 kB / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2215, allocations: 4 kB / 0.8364 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2215, allocations: 0 / 0.8364 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2215, allocations: 4 kB / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.2216, allocations: 7.984 kB / 0.8364 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2216, allocations: 4.031 kB / 0.8364 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.2217, allocations: 11.92 kB / 0.8364 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2217, allocations: 0 / 0.8364 GB, free: 4.648 MB / 0.5762 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 9.155e-05/0.2218, allocations: 114.4 kB / 0.8365 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.2218, allocations: 0 / 0.8365 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.222, allocations: 72.97 kB / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.222, allocations: 4.031 kB / 0.8366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.222, allocations: 0 / 0.8366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.222, allocations: 0 / 0.8366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.2222, allocations: 136.7 kB / 0.8367 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2222, allocations: 3.938 kB / 0.8367 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.2223, allocations: 8 kB / 0.8367 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2223, allocations: 0 / 0.8367 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.2223, allocations: 3.984 kB / 0.8367 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2223, allocations: 0 / 0.8367 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2223, allocations: 0 / 0.8367 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.2225, allocations: 171.4 kB / 0.8369 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.2226, allocations: 0 / 0.8369 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2226, allocations: 4 kB / 0.8369 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.2226, allocations: 0 / 0.8369 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.2227, allocations: 7.984 kB / 0.8369 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2227, allocations: 32 / 0.8369 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.2227, allocations: 87.28 kB / 0.837 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2227, allocations: 0 / 0.837 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002396/0.223, allocations: 15.94 kB / 0.837 GB, free: 3.953 MB / 0.5762 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.0006707/0.2236, allocations: 0.7166 MB / 0.8377 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.2238, allocations: 39.89 kB / 0.8377 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2238, allocations: 0 / 0.8377 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.2239, allocations: 23.98 kB / 0.8378 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2242, allocations: 6.734 kB / 0.8378 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.2246, allocations: 135.2 kB / 0.8379 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2249, allocations: 0.6768 MB / 0.8386 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.225, allocations: 7.984 kB / 0.8386 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.225, allocations: 15.42 kB / 0.8386 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.225, allocations: 0 / 0.8386 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2529, allocations: 1.633 MB / 0.8402 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.58, allocations: 14.94 kB / 0.8402 GB, free: 0.7305 MB / 0.5762 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 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: 15.051659063999978] Failed to read output from testmodel.py, exit status != 0: 10.682800754002528 10.703238281 10.481165842 Calling exit ...