Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.87/0.87, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 172.9 kB / 182.2 MB, free: 9.422 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.0009942, allocations: 81.83 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 286.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.866e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5309, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.6933, allocations: 107.3 MB / 0.8623 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.6936, allocations: 71.95 kB / 0.8624 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003773/0.6974, allocations: 1.243 MB / 0.8636 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6974, allocations: 0 / 0.8636 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.6975, allocations: 0 / 0.8636 GB, free: 3.113 MB / 0.5261 GB 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.0003122/0.6978, allocations: 326.5 kB / 0.8639 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.6978, allocations: 8.031 kB / 0.8639 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.6979, allocations: 4 kB / 0.8639 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.698, allocations: 163.1 kB / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.698, allocations: 3.953 kB / 0.8641 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.698, allocations: 4 kB / 0.8641 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.474e-05/0.6981, allocations: 3.938 kB / 0.8641 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.863e-05/0.6982, allocations: 29.7 kB / 0.8641 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6982, allocations: 0 / 0.8641 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6982, allocations: 0 / 0.8641 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6982, allocations: 0 / 0.8641 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.6983, allocations: 126.2 kB / 0.8642 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.534e-05/0.6984, allocations: 14.67 kB / 0.8642 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.6984, allocations: 12.86 kB / 0.8642 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.699, allocations: 441.5 kB / 0.8647 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.6991, allocations: 42.44 kB / 0.8647 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6991, allocations: 0 / 0.8647 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.6992, allocations: 33.7 kB / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.6993, allocations: 51.41 kB / 0.8648 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.913e-05/0.6993, allocations: 85 kB / 0.8649 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6994, allocations: 29.64 kB / 0.8649 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.6994, allocations: 80.14 kB / 0.865 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.6994, allocations: 4 kB / 0.865 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-06/0.6994, allocations: 0 / 0.865 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6996, allocations: 310.8 kB / 0.8653 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.6996, allocations: 4.031 kB / 0.8653 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-06/0.6996, allocations: 0 / 0.8653 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.6997, allocations: 4 kB / 0.8653 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6997, allocations: 3.938 kB / 0.8653 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.194e-05/0.6997, allocations: 41.62 kB / 0.8653 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6998, allocations: 4 kB / 0.8653 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6998, allocations: 0 / 0.8653 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6998, allocations: 3.953 kB / 0.8653 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/0.6998, allocations: 4 kB / 0.8653 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6998, allocations: 4.094 kB / 0.8653 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.6999, allocations: 3.906 kB / 0.8653 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.6999, allocations: 3.828 kB / 0.8654 GB, free: 1.016 MB / 0.5261 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 () * 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 7.472e-05/0.7, allocations: 101 kB / 0.8654 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.539e-05/0.7, allocations: 37.69 kB / 0.8655 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.7, allocations: 3.953 kB / 0.8655 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.7001, allocations: 37.39 kB / 0.8655 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.7001, allocations: 0 / 0.8655 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7001, allocations: 4.062 kB / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7001, allocations: 0 / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.7003, allocations: 126.2 kB / 0.8656 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.7003, allocations: 0 / 0.8656 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.7003, allocations: 4 kB / 0.8657 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7003, allocations: 0 / 0.8657 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.7003, allocations: 0 / 0.8657 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7003, allocations: 3.953 kB / 0.8657 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7003, allocations: 0 / 0.8657 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.7004, allocations: 71.14 kB / 0.8657 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.7005, allocations: 77.11 kB / 0.8658 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.7005, allocations: 0 / 0.8658 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-06/0.7005, allocations: 0 / 0.8658 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.7005, allocations: 7.938 kB / 0.8658 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.7005, allocations: 3.938 kB / 0.8658 GB, free: 468 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.7006, allocations: 75.28 kB / 0.8659 GB, free: 392 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7006, allocations: 4 kB / 0.8659 GB, free: 388 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002065/0.7008, allocations: 23.92 kB / 0.8659 GB, free: 364 kB / 0.5261 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 () * 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.0005671/0.7014, allocations: 0.6281 MB / 0.8665 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.258e-05/0.7014, allocations: 8 kB / 0.8665 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7014, allocations: 3.938 kB / 0.8665 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-06/0.7015, allocations: 3.938 kB / 0.8665 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.7016, allocations: 7.891 kB / 0.8665 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.7018, allocations: 81.66 kB / 0.8666 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.7022, allocations: 0.6768 MB / 0.8673 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.232e-05/0.7022, allocations: 0 / 0.8673 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.7022, allocations: 7.562 kB / 0.8673 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.7022, allocations: 4 kB / 0.8673 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.7244, allocations: 0.641 MB / 0.8679 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.7247, allocations: 151.3 kB / 0.8681 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.322, allocations: 5.719 kB / 0.8681 GB, free: 14.02 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)