Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7415/0.7415, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002266/0.002266, allocations: 188.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 90.45 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.384e-05/6.388e-05, allocations: 15.98 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1855, allocations: 76.76 MB / 0.6283 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6743/0.8599, allocations: 102 MB / 0.7279 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.8603, allocations: 80.19 kB / 0.728 GB, free: 11.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003965/0.8642, allocations: 1.322 MB / 0.7292 GB, free: 10.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.8643, allocations: 0 / 0.7292 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.8643, allocations: 0 / 0.7292 GB, free: 10.16 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003167/0.8646, allocations: 337.5 kB / 0.7296 GB, free: 9.789 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/0.8647, allocations: 8.031 kB / 0.7296 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.732e-05/0.8648, allocations: 34.56 kB / 0.7296 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.8648, allocations: 3.953 kB / 0.7296 GB, free: 9.734 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.8649, allocations: 163 kB / 0.7298 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.8649, allocations: 0 / 0.7298 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.865, allocations: 0 / 0.7298 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.8651, allocations: 25.7 kB / 0.7298 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.8651, allocations: 4 kB / 0.7298 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.8651, allocations: 3.984 kB / 0.7298 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.8651, allocations: 4 kB / 0.7298 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.8652, allocations: 3.953 kB / 0.7298 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.8654, allocations: 145.6 kB / 0.7299 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.166e-05/0.8654, allocations: 22.55 kB / 0.73 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.8654, allocations: 7.578 kB / 0.73 GB, free: 9.262 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/0.8661, allocations: 449.5 kB / 0.7304 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.8662, allocations: 34.55 kB / 0.7304 GB, free: 8.691 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.8662, allocations: 0 / 0.7304 GB, free: 8.691 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.8663, allocations: 29.7 kB / 0.7305 GB, free: 8.656 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.8664, allocations: 51.41 kB / 0.7305 GB, free: 8.594 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.8665, allocations: 85 kB / 0.7306 GB, free: 8.504 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.8665, allocations: 37.48 kB / 0.7306 GB, free: 8.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.8665, allocations: 80.14 kB / 0.7307 GB, free: 8.383 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.8666, allocations: 0 / 0.7307 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.8666, allocations: 3.938 kB / 0.7307 GB, free: 8.379 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.8668, allocations: 318.7 kB / 0.731 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.8668, allocations: 3.938 kB / 0.731 GB, free: 8.055 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.8668, allocations: 4 kB / 0.731 GB, free: 8.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.769e-05/0.8668, allocations: 0 / 0.731 GB, free: 8.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8668, allocations: 4.062 kB / 0.731 GB, free: 8.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.324e-05/0.8669, allocations: 33.69 kB / 0.7311 GB, free: 8.008 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8669, allocations: 8 kB / 0.7311 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.8669, allocations: 0 / 0.7311 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.867, allocations: 0 / 0.7311 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.867, allocations: 0 / 0.7311 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.867, allocations: 0 / 0.7311 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.867, allocations: 0.7812 kB / 0.7311 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.8671, allocations: 7.062 kB / 0.7311 GB, free: 7.996 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.8672, allocations: 116.7 kB / 0.7312 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.8672, allocations: 0 / 0.7312 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.8673, allocations: 40.75 kB / 0.7312 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8673, allocations: 0 / 0.7312 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.8673, allocations: 0 / 0.7312 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8673, allocations: 0 / 0.7312 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.8675, allocations: 153.6 kB / 0.7314 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8675, allocations: 0 / 0.7314 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.8675, allocations: 0 / 0.7314 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8675, allocations: 0 / 0.7314 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.8675, allocations: 8.031 kB / 0.7314 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8675, allocations: 0 / 0.7314 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8675, allocations: 0 / 0.7314 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.8676, allocations: 63.88 kB / 0.7314 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.8677, allocations: 81.09 kB / 0.7315 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.8677, allocations: 7.5 kB / 0.7315 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.8677, allocations: 0 / 0.7315 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.8678, allocations: 32 / 0.7315 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.8678, allocations: 4 kB / 0.7315 GB, free: 7.445 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.725e-05/0.8678, allocations: 75.28 kB / 0.7316 GB, free: 7.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8678, allocations: 0 / 0.7316 GB, free: 7.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.868, allocations: 16 kB / 0.7316 GB, free: 7.355 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005569/0.8686, allocations: 0.6467 MB / 0.7322 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.231e-05/0.8687, allocations: 0 / 0.7322 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8687, allocations: 4 kB / 0.7322 GB, free: 6.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/0.8687, allocations: 3.375 kB / 0.7322 GB, free: 6.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.8688, allocations: 6.938 kB / 0.7323 GB, free: 6.676 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.8691, allocations: 91.08 kB / 0.7323 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.8694, allocations: 0.677 MB / 0.733 GB, free: 5.848 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.8694, allocations: 0.7812 kB / 0.733 GB, free: 5.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.8695, allocations: 15.38 kB / 0.733 GB, free: 5.832 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.8695, allocations: 0 / 0.733 GB, free: 5.832 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.8825, allocations: 0.9442 MB / 0.7339 GB, free: 5.004 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.8828, allocations: 164.3 kB / 0.7341 GB, free: 4.777 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.54, allocations: 2.953 kB / 0.7341 GB, free: 4.777 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)