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/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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00601/0.006011, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001673/0.001673, allocations: 190.3 kB / 16.67 MB, free: 5.477 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 287.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001747, allocations: 99.84 kB / 0.6815 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4242, allocations: 86.98 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001609/0.4258, allocations: 0.5736 MB / 0.767 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004375/0.4263, allocations: 195.4 kB / 0.7672 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.4263, allocations: 3.938 kB / 0.7672 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.4263, allocations: 0 / 0.7672 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.4263, allocations: 3.938 kB / 0.7672 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.4267, allocations: 55.83 kB / 0.7672 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.253e-05/0.4268, allocations: 0 / 0.7672 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.4268, allocations: 0 / 0.7672 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.094e-05/0.4268, allocations: 4 kB / 0.7672 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.732e-05/0.4268, allocations: 7.922 kB / 0.7672 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.8e-06/0.4268, allocations: 0 / 0.7672 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.427, allocations: 63.94 kB / 0.7673 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.427, allocations: 0 / 0.7673 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.427, allocations: 0 / 0.7673 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.4272, allocations: 39.88 kB / 0.7673 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4272, allocations: 0 / 0.7673 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4272, allocations: 0 / 0.7673 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4272, allocations: 0 / 0.7673 GB, free: 2.961 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002531/0.4274, allocations: 327.6 kB / 0.7677 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4275, allocations: 8.031 kB / 0.7677 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.4275, allocations: 0.9375 kB / 0.7677 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.4276, allocations: 172.3 kB / 0.7678 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4276, allocations: 384 / 0.7678 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.4276, allocations: 384 / 0.7678 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.474e-05/0.4277, allocations: 30.27 kB / 0.7679 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.4277, allocations: 192 / 0.7679 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4277, allocations: 7.938 kB / 0.7679 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4278, allocations: 0 / 0.7679 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.4278, allocations: 0 / 0.7679 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.4279, allocations: 153.6 kB / 0.768 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.428, allocations: 18.58 kB / 0.768 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.428, allocations: 8.953 kB / 0.768 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.4287, allocations: 461.4 kB / 0.7685 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.4287, allocations: 34.56 kB / 0.7685 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.4287, allocations: 0 / 0.7685 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.4288, allocations: 37.58 kB / 0.7685 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.4288, allocations: 55.41 kB / 0.7686 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.595e-05/0.4289, allocations: 93.86 kB / 0.7687 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4289, allocations: 25.7 kB / 0.7687 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/0.4289, allocations: 80.14 kB / 0.7688 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.429, allocations: 7.891 kB / 0.7688 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.429, allocations: 13.84 kB / 0.7688 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4291, allocations: 310.8 kB / 0.7691 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.4291, allocations: 4 kB / 0.7691 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.4291, allocations: 0 / 0.7691 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.4291, allocations: 12.86 kB / 0.7691 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4292, allocations: 0 / 0.7691 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.4292, allocations: 33.64 kB / 0.7692 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4292, allocations: 12.08 kB / 0.7692 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4293, allocations: 0 / 0.7692 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.4293, allocations: 7.938 kB / 0.7692 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.4293, allocations: 3.938 kB / 0.7692 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4294, allocations: 0 / 0.7692 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.4294, allocations: 0 / 0.7692 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.4294, allocations: 0 / 0.7692 GB, free: 0.7617 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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 0.0001045/0.4295, allocations: 115.9 kB / 0.7693 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.4295, allocations: 0 / 0.7693 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.4296, allocations: 52.69 kB / 0.7693 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4296, allocations: 0 / 0.7693 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4296, allocations: 3.938 kB / 0.7693 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4296, allocations: 0 / 0.7693 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.4298, allocations: 141.7 kB / 0.7695 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4298, allocations: 4 kB / 0.7695 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.4298, allocations: 0 / 0.7695 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.4298, allocations: 0 / 0.7695 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.4298, allocations: 7.922 kB / 0.7695 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4298, allocations: 0 / 0.7695 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4298, allocations: 0 / 0.7695 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.122e-05/0.4299, allocations: 61.17 kB / 0.7695 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.43, allocations: 81.11 kB / 0.7696 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.43, allocations: 3.938 kB / 0.7696 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.43, allocations: 0 / 0.7696 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.4301, allocations: 7.984 kB / 0.7696 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.4301, allocations: 0 / 0.7696 GB, free: 204 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.4301, allocations: 75.31 kB / 0.7697 GB, free: 128 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4301, allocations: 4 kB / 0.7697 GB, free: 124 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002071/0.4303, allocations: 12 kB / 0.7697 GB, free: 112 kB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0002926/0.4306, allocations: 116.6 kB / 0.7698 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.116e-05/0.4307, allocations: 8 kB / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4308, allocations: 4.062 kB / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.4308, allocations: 7.938 kB / 0.7699 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.4309, allocations: 0 / 0.7699 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.4312, allocations: 73.08 kB / 0.7699 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4315, allocations: 0.6768 MB / 0.7706 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.568e-05/0.4315, allocations: 3.984 kB / 0.7706 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.4315, allocations: 7.438 kB / 0.7706 GB, free: 15.15 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.4315, allocations: 0 / 0.7706 GB, free: 15.15 MB / 0.545 GB Notification: Performance of Templates: time 0.002751/0.4343, allocations: 418.3 kB / 0.771 GB, free: 14.75 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)