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.001369/0.001369, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001433/0.001433, allocations: 222.5 kB / 23.03 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002483/0.002483, allocations: 289.3 kB / 313.5 MB, free: 2.598 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.325/1.325, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",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.002827/0.002827, allocations: 103.8 kB / 0.7403 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.202, allocations: 95.39 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.003179/0.2052, allocations: 1.462 MB / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.2058, allocations: 232.1 kB / 0.8351 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.2058, allocations: 0 / 0.8351 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.2059, allocations: 3.938 kB / 0.8351 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.2059, allocations: 4 kB / 0.8351 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.2063, allocations: 59.83 kB / 0.8351 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2064, allocations: 27.91 kB / 0.8351 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2065, allocations: 4 kB / 0.8352 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.2066, allocations: 15.92 kB / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.2066, allocations: 7.938 kB / 0.8352 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2066, allocations: 4 kB / 0.8352 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.2068, allocations: 63.88 kB / 0.8352 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2068, allocations: 0 / 0.8352 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.2068, allocations: 15.92 kB / 0.8353 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.207, allocations: 56.08 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.207, allocations: 0 / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.946e-06/0.207, allocations: 0 / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.207, allocations: 0 / 0.8353 GB, free: 6.367 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.0005544/0.2076, allocations: 270.2 kB / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.2076, allocations: 13.34 kB / 0.8356 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.387e-05/0.2077, allocations: 192 / 0.8356 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.2077, allocations: 38.69 kB / 0.8356 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.2078, allocations: 8.891 kB / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.2079, allocations: 102.5 kB / 0.8357 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.208, allocations: 4.375 kB / 0.8357 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.208, allocations: 4.375 kB / 0.8357 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2082, allocations: 55.66 kB / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2082, allocations: 0 / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2083, allocations: 0 / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.2083, allocations: 0 / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.2085, allocations: 31.95 kB / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.209, allocations: 227.9 kB / 0.836 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.2092, allocations: 38.56 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.65e-05/0.2093, allocations: 20.91 kB / 0.8361 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007742/0.21, allocations: 79.91 kB / 0.8362 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.2101, allocations: 42.56 kB / 0.8362 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.2101, allocations: 0 / 0.8362 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004531/0.2105, allocations: 77.58 kB / 0.8363 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.2106, allocations: 55.41 kB / 0.8363 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2107, allocations: 101.8 kB / 0.8364 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2107, allocations: 25.7 kB / 0.8365 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.2108, allocations: 84.09 kB / 0.8365 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2109, allocations: 11.95 kB / 0.8365 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.2109, allocations: 13.84 kB / 0.8366 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.2111, allocations: 314.8 kB / 0.8369 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.2112, allocations: 27.91 kB / 0.8369 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.2113, allocations: 11.98 kB / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2114, allocations: 40.77 kB / 0.8369 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2114, allocations: 0 / 0.8369 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002391/0.2117, allocations: 77.66 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2117, allocations: 7.938 kB / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2117, allocations: 0 / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.2117, allocations: 0 / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2118, allocations: 11.98 kB / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2118, allocations: 0 / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.2119, allocations: 4 kB / 0.837 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2119, allocations: 0 / 0.837 GB, free: 4.406 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 0.0001264/0.212, allocations: 122.5 kB / 0.8371 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.2121, allocations: 0 / 0.8371 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.2123, allocations: 73.09 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2123, allocations: 0 / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.2124, allocations: 7.984 kB / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2124, allocations: 0 / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.2126, allocations: 128.7 kB / 0.8373 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2126, allocations: 0 / 0.8373 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.2126, allocations: 12.02 kB / 0.8374 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2126, allocations: 4 kB / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.2126, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2126, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2126, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.2129, allocations: 167.4 kB / 0.8375 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.2129, allocations: 0 / 0.8375 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2129, allocations: 4 kB / 0.8375 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.213, allocations: 15.95 kB / 0.8375 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.2131, allocations: 0 / 0.8375 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2131, allocations: 0 / 0.8375 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.494e-05/0.2132, allocations: 79.28 kB / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2132, allocations: 0 / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002668/0.2134, allocations: 23.92 kB / 0.8376 GB, free: 3.703 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.0008633/0.2143, allocations: 0.7085 MB / 0.8383 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.2145, allocations: 47.83 kB / 0.8384 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2145, allocations: 0 / 0.8384 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.2146, allocations: 11.98 kB / 0.8384 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2149, allocations: 11.98 kB / 0.8384 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.2154, allocations: 143.3 kB / 0.8385 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.2155, allocations: 59.36 kB / 0.8386 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.2155, allocations: 0 / 0.8386 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2155, allocations: 11.42 kB / 0.8386 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2155, allocations: 3.938 kB / 0.8386 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.239, allocations: 1.712 MB / 0.8403 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.23, allocations: 8.203 kB / 0.8403 GB, free: 1.055 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 & /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: 15.670718608074822] Failed to read output from testmodel.py, exit status != 0: 11.39443411596585 11.42188024 11.209755319 Calling exit ...