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/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8838/0.8838, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001161/0.001161, allocations: 184.9 kB / 182.2 MB, free: 9.434 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.683/1.683, 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.001055/0.001055, allocations: 89.55 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.001944/0.001944, allocations: 268.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.849e-05, allocations: 8 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5547, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.7167, allocations: 108.1 MB / 0.863 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.7171, allocations: 71.95 kB / 0.8631 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005164/0.7223, allocations: 1.572 MB / 0.8646 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7224, allocations: 0 / 0.8646 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.7224, allocations: 4 kB / 0.8646 GB, free: 2.027 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004026/0.7228, allocations: 354.5 kB / 0.865 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7228, allocations: 12.02 kB / 0.865 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.7229, allocations: 4 kB / 0.865 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.723, allocations: 166.9 kB / 0.8652 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.7231, allocations: 3.953 kB / 0.8652 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.7231, allocations: 0 / 0.8652 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.721e-05/0.7232, allocations: 12 kB / 0.8652 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.7233, allocations: 33.69 kB / 0.8652 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.7233, allocations: 7.938 kB / 0.8652 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.7233, allocations: 0 / 0.8652 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7233, allocations: 0 / 0.8652 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.7237, allocations: 241.4 kB / 0.8654 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.7238, allocations: 30.58 kB / 0.8655 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.7238, allocations: 8.859 kB / 0.8655 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006597/0.7245, allocations: 445.6 kB / 0.8659 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.7246, allocations: 38.56 kB / 0.8659 GB, free: 468 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.7246, allocations: 4 kB / 0.8659 GB, free: 464 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001938/0.7248, allocations: 37.64 kB / 0.866 GB, free: 420 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.7248, allocations: 51.41 kB / 0.866 GB, free: 356 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.7249, allocations: 97.12 kB / 0.8661 GB, free: 252 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.7249, allocations: 25.7 kB / 0.8661 GB, free: 220 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.725, allocations: 84.08 kB / 0.8662 GB, free: 132 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.725, allocations: 7.906 kB / 0.8662 GB, free: 124 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.725, allocations: 4 kB / 0.8662 GB, free: 120 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7252, allocations: 316.9 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.7252, allocations: 0 / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.7252, allocations: 8 kB / 0.8665 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.7252, allocations: 4 kB / 0.8665 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7252, allocations: 3.938 kB / 0.8665 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.38e-05/0.7253, allocations: 45.64 kB / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7253, allocations: 8 kB / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7253, allocations: 0 / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7254, allocations: 7.969 kB / 0.8666 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.7255, allocations: 16.08 kB / 0.8666 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.7255, allocations: 0 / 0.8666 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.7255, allocations: 12 kB / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.7256, allocations: 0 / 0.8666 GB, free: 15.69 MB / 0.5417 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 (2): * Single equations (assignments): 2 * 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.384e-05/0.7256, allocations: 105 kB / 0.8667 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.622e-05/0.7257, allocations: 49.56 kB / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.7258, allocations: 0 / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.7259, allocations: 54.73 kB / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.7259, allocations: 0 / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7259, allocations: 0 / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.7259, allocations: 0 / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.726, allocations: 134.2 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.726, allocations: 3.953 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.7261, allocations: 15.98 kB / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7261, allocations: 0 / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.7261, allocations: 32 / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.7261, allocations: 4 kB / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7262, allocations: 0 / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.7263, allocations: 135.5 kB / 0.8671 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.7263, allocations: 81.06 kB / 0.8672 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.7264, allocations: 0 / 0.8672 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.7264, allocations: 11.98 kB / 0.8672 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.7265, allocations: 8.031 kB / 0.8672 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.7265, allocations: 0 / 0.8672 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.7265, allocations: 91.14 kB / 0.8673 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7265, allocations: 0 / 0.8673 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002275/0.7268, allocations: 27.84 kB / 0.8673 GB, free: 14.89 MB / 0.5417 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 (2): * Single equations (assignments): 2 * 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.0005572/0.7273, allocations: 0.7046 MB / 0.868 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.879e-05/0.7274, allocations: 12 kB / 0.868 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7275, allocations: 0 / 0.868 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.7275, allocations: 7.938 kB / 0.868 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.7277, allocations: 8.125 kB / 0.868 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.728, allocations: 98.16 kB / 0.8681 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.7283, allocations: 0.6807 MB / 0.8688 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.7284, allocations: 3.938 kB / 0.8688 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.7284, allocations: 15.42 kB / 0.8688 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.7284, allocations: 0 / 0.8688 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.7503, allocations: 0.9317 MB / 0.8697 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/0.7506, allocations: 140.3 kB / 0.8699 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.355, allocations: 0 / 0.8699 GB, free: 12.17 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)