Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005251/0.005251, allocations: 100.3 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 195.3 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 282.1 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8769/0.8769, allocations: 169.3 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 91.86 kB / 0.681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4092, allocations: 86.97 MB / 0.7659 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002213/0.4115, allocations: 1.43 MB / 0.7673 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004493/0.4119, allocations: 240.1 kB / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.412, allocations: 4 kB / 0.7675 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.412, allocations: 4 kB / 0.7675 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.168e-05/0.4121, allocations: 3.938 kB / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.4124, allocations: 55.83 kB / 0.7676 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.4124, allocations: 27.91 kB / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.4125, allocations: 4 kB / 0.7676 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.4126, allocations: 15.92 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.4126, allocations: 11.98 kB / 0.7677 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.4126, allocations: 0 / 0.7677 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.4127, allocations: 51.95 kB / 0.7677 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.4128, allocations: 11.94 kB / 0.7677 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.4128, allocations: 11.97 kB / 0.7677 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.4129, allocations: 58.62 kB / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4129, allocations: 0 / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4129, allocations: 0 / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.4129, allocations: 0 / 0.7678 GB, free: 1.973 MB / 0.5294 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.0004027/0.4133, allocations: 339.5 kB / 0.7681 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4134, allocations: 12.03 kB / 0.7681 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.4134, allocations: 30.75 kB / 0.7681 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.4134, allocations: 4.938 kB / 0.7681 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.4135, allocations: 168.3 kB / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4136, allocations: 4.375 kB / 0.7683 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.4136, allocations: 4.375 kB / 0.7683 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4137, allocations: 46.23 kB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.4138, allocations: 3.938 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4138, allocations: 4 kB / 0.7684 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.4138, allocations: 3.938 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.4139, allocations: 43.84 kB / 0.7684 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.4142, allocations: 256.9 kB / 0.7687 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.4144, allocations: 38.5 kB / 0.7687 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.4144, allocations: 16.91 kB / 0.7687 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/0.415, allocations: 461.5 kB / 0.7692 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4151, allocations: 34.5 kB / 0.7692 GB, free: 272 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.4151, allocations: 0 / 0.7692 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003257/0.4154, allocations: 85.64 kB / 0.7693 GB, free: 180 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.4154, allocations: 51.41 kB / 0.7693 GB, free: 116 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.4155, allocations: 93.86 kB / 0.7694 GB, free: 12 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.4155, allocations: 25.7 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.4156, allocations: 92.12 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.4156, allocations: 3.906 kB / 0.7695 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.4156, allocations: 13.72 kB / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.4157, allocations: 319 kB / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/0.4158, allocations: 11.98 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.4159, allocations: 19.97 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.416, allocations: 40.77 kB / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4161, allocations: 3.938 kB / 0.7699 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.4162, allocations: 69.72 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4163, allocations: 4 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.4163, allocations: 0 / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.4163, allocations: 192 / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.4164, allocations: 11.98 kB / 0.77 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.4164, allocations: 0 / 0.77 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.4164, allocations: 4 kB / 0.77 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4164, allocations: 0 / 0.77 GB, free: 15.37 MB / 0.545 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 6.86e-05/0.4165, allocations: 125.8 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.4165, allocations: 3.984 kB / 0.7701 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.4167, allocations: 68.72 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4168, allocations: 0 / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4168, allocations: 4 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.4168, allocations: 0 / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.4169, allocations: 161.5 kB / 0.7703 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4169, allocations: 4.031 kB / 0.7703 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.417, allocations: 11.92 kB / 0.7704 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.417, allocations: 0 / 0.7704 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-06/0.417, allocations: 4 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.417, allocations: 0 / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.417, allocations: 0 / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.4173, allocations: 171.4 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.4173, allocations: 77.11 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.4173, allocations: 7.922 kB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.4174, allocations: 4 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.4174, allocations: 4 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4174, allocations: 11.98 kB / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.4175, allocations: 75.28 kB / 0.7707 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4175, allocations: 0 / 0.7707 GB, free: 14.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000225/0.4177, allocations: 20 kB / 0.7707 GB, free: 14.54 MB / 0.545 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.0005314/0.4182, allocations: 0.7202 MB / 0.7714 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.4184, allocations: 31.97 kB / 0.7715 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4185, allocations: 0 / 0.7715 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.4185, allocations: 23.97 kB / 0.7715 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.4188, allocations: 6.344 kB / 0.7715 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.4191, allocations: 145.1 kB / 0.7716 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.4194, allocations: 0.6768 MB / 0.7723 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.4194, allocations: 4 kB / 0.7723 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.4194, allocations: 11.44 kB / 0.7723 GB, free: 12.82 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/0.4194, allocations: 0 / 0.7723 GB, free: 12.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.4366, allocations: 1.533 MB / 0.7738 GB, free: 11.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.496, allocations: 8.5 kB / 0.7738 GB, free: 11.38 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)