Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",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.9147/0.9147, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001808/0.001808, allocations: 175.9 kB / 182.2 MB, free: 9.457 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.784/1.784, 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.001222/0.001222, allocations: 92.11 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.00176/0.00176, allocations: 270.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.754e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5099, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.658, allocations: 107.4 MB / 0.8623 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.6583, allocations: 75.95 kB / 0.8624 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003645/0.662, allocations: 1.272 MB / 0.8636 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.662, allocations: 0 / 0.8636 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.662, allocations: 0 / 0.8636 GB, free: 3.035 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.0003008/0.6623, allocations: 334.5 kB / 0.864 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.6624, allocations: 8.031 kB / 0.864 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.6624, allocations: 0 / 0.864 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.6625, allocations: 159.1 kB / 0.8641 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.6625, allocations: 3.953 kB / 0.8641 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.6626, allocations: 7.984 kB / 0.8641 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.501e-05/0.6626, allocations: 3.938 kB / 0.8641 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.596e-05/0.6627, allocations: 25.7 kB / 0.8642 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6627, allocations: 0 / 0.8642 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.6627, allocations: 4 kB / 0.8642 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.6627, allocations: 4 kB / 0.8642 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.6629, allocations: 122.2 kB / 0.8643 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.6629, allocations: 14.58 kB / 0.8643 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.663, allocations: 12.89 kB / 0.8643 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006315/0.6636, allocations: 453.5 kB / 0.8647 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.6636, allocations: 42.45 kB / 0.8648 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.6637, allocations: 0 / 0.8648 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.6638, allocations: 25.7 kB / 0.8648 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.6639, allocations: 59.41 kB / 0.8649 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.841e-05/0.6639, allocations: 85 kB / 0.8649 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.6639, allocations: 25.7 kB / 0.865 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.664, allocations: 84.17 kB / 0.8651 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.664, allocations: 3.938 kB / 0.8651 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.664, allocations: 0 / 0.8651 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6641, allocations: 310.8 kB / 0.8654 GB, free: 1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.6642, allocations: 0 / 0.8654 GB, free: 1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-06/0.6642, allocations: 4 kB / 0.8654 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.432e-05/0.6642, allocations: 3.984 kB / 0.8654 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6642, allocations: 0 / 0.8654 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.985e-05/0.6643, allocations: 37.7 kB / 0.8654 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6643, allocations: 9.406 kB / 0.8654 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6643, allocations: 0 / 0.8654 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.6643, allocations: 3.953 kB / 0.8654 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.362e-05/0.6644, allocations: 0 / 0.8654 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6644, allocations: 0 / 0.8654 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.6644, allocations: 3.906 kB / 0.8654 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.6644, allocations: 4 kB / 0.8654 GB, free: 0.9297 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.245e-05/0.6645, allocations: 103 kB / 0.8655 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.367e-05/0.6646, allocations: 41.72 kB / 0.8656 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.6646, allocations: 3.953 kB / 0.8656 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.6647, allocations: 37.39 kB / 0.8656 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6647, allocations: 3.984 kB / 0.8656 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6647, allocations: 0 / 0.8656 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.6647, allocations: 4 kB / 0.8656 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.312e-05/0.6648, allocations: 122.2 kB / 0.8657 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.6648, allocations: 0 / 0.8657 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-06/0.6648, allocations: 0 / 0.8657 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.6648, allocations: 64 / 0.8657 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.6648, allocations: 8 kB / 0.8657 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.6648, allocations: 7.703 kB / 0.8657 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6649, allocations: 0 / 0.8657 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.6649, allocations: 61.11 kB / 0.8658 GB, free: 488 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.665, allocations: 77.11 kB / 0.8659 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.665, allocations: 0 / 0.8659 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.665, allocations: 4 kB / 0.8659 GB, free: 388 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.6651, allocations: 15.86 kB / 0.8659 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.6651, allocations: 0 / 0.8659 GB, free: 372 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.6651, allocations: 75.28 kB / 0.866 GB, free: 296 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6651, allocations: 3.938 kB / 0.866 GB, free: 292 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000208/0.6653, allocations: 27.92 kB / 0.866 GB, free: 264 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.0005135/0.6659, allocations: 0.6219 MB / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.6659, allocations: 3.984 kB / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6659, allocations: 0 / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-06/0.6659, allocations: 7.938 kB / 0.8666 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.6661, allocations: 9.281 kB / 0.8666 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.6663, allocations: 85.67 kB / 0.8667 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.6666, allocations: 0.6768 MB / 0.8674 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.237e-05/0.6666, allocations: 0 / 0.8674 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.6666, allocations: 7.438 kB / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6666, allocations: 0 / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.6867, allocations: 0.6547 MB / 0.868 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.687, allocations: 155 kB / 0.8682 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.305, allocations: 0 / 0.8682 GB, free: 13.92 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)