Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 112.4 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 191.8 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002307/0.002307, allocations: 282.9 kB / 303.6 MB, free: 3.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 180.9 MB / 0.5268 GB, free: 2.684 MB / 382.1 MB " [Timeout remaining time 179] 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 107.8 kB / 0.726 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5184, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001529/0.5199, allocations: 0.6399 MB / 0.8185 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.5214, allocations: 1.46 MB / 0.82 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.5214, allocations: 1.531 kB / 0.82 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.5214, allocations: 7.938 kB / 0.82 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.5215, allocations: 3.938 kB / 0.82 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.5219, allocations: 125.4 kB / 0.8201 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.522, allocations: 27.8 kB / 0.8201 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.522, allocations: 13.47 kB / 0.8201 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.522, allocations: 18.95 kB / 0.8202 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.5221, allocations: 18.2 kB / 0.8202 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.5221, allocations: 4.969 kB / 0.8202 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.5225, allocations: 314.7 kB / 0.8205 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.5225, allocations: 8.391 kB / 0.8205 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.5225, allocations: 18.5 kB / 0.8205 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.5228, allocations: 183.1 kB / 0.8207 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5228, allocations: 0 / 0.8207 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5228, allocations: 0 / 0.8207 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.5228, allocations: 0 / 0.8207 GB, free: 5.734 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004052/0.5232, allocations: 388.1 kB / 0.821 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.5232, allocations: 9.406 kB / 0.8211 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.5236, allocations: 59.23 kB / 0.8211 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/0.5237, allocations: 177.8 kB / 0.8213 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5237, allocations: 1.656 kB / 0.8213 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.5237, allocations: 9.406 kB / 0.8213 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.5239, allocations: 78.11 kB / 0.8214 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.524, allocations: 1.156 kB / 0.8214 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.524, allocations: 0 / 0.8214 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.524, allocations: 1 kB / 0.8214 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.5243, allocations: 71.55 kB / 0.8214 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.5245, allocations: 165.5 kB / 0.8216 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.525, allocations: 130.7 kB / 0.8217 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.5252, allocations: 44.09 kB / 0.8218 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5252, allocations: 1.844 kB / 0.8218 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.5252, allocations: 39.16 kB / 0.8218 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.5252, allocations: 0 / 0.8218 GB, free: 4.766 MB / 0.5762 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004009/0.5292, allocations: 0.7953 MB / 0.8226 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5293, allocations: 55.8 kB / 0.8226 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.5294, allocations: 106.7 kB / 0.8227 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.5294, allocations: 32.58 kB / 0.8228 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.5294, allocations: 81.5 kB / 0.8228 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.5294, allocations: 31.42 kB / 0.8229 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.5295, allocations: 31.5 kB / 0.8229 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.5295, allocations: 315.1 kB / 0.8232 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.53, allocations: 96.8 kB / 0.8233 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.5304, allocations: 95.52 kB / 0.8234 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.5312, allocations: 198.5 kB / 0.8236 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5312, allocations: 0 / 0.8236 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009034/0.5321, allocations: 247.7 kB / 0.8238 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5321, allocations: 6.625 kB / 0.8238 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5321, allocations: 0 / 0.8238 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5321, allocations: 3.938 kB / 0.8238 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.5324, allocations: 54.48 kB / 0.8239 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5324, allocations: 0 / 0.8239 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.5326, allocations: 37.75 kB / 0.8239 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.5326, allocations: 5.375 kB / 0.8239 GB, free: 3.824 MB / 0.5762 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 (9): * Single equations (assignments): 9 * 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.539e-05/0.5327, allocations: 117.3 kB / 0.824 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.5327, allocations: 3.297 kB / 0.824 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.5328, allocations: 9.734 kB / 0.824 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.5328, allocations: 6.25 kB / 0.824 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5328, allocations: 0 / 0.824 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5328, allocations: 0.7969 kB / 0.824 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.5343, allocations: 0.6041 MB / 0.8246 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5343, allocations: 0 / 0.8246 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.5346, allocations: 51.58 kB / 0.8247 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5346, allocations: 4.547 kB / 0.8247 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5346, allocations: 4 kB / 0.8247 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5346, allocations: 8.125 kB / 0.8247 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5346, allocations: 0 / 0.8247 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.5355, allocations: 342.8 kB / 0.825 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.5355, allocations: 86.61 kB / 0.8251 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.5355, allocations: 3.5 kB / 0.8251 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.5357, allocations: 31.69 kB / 0.8251 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.5358, allocations: 25.84 kB / 0.8252 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5358, allocations: 4.969 kB / 0.8252 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.5359, allocations: 90.2 kB / 0.8253 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5359, allocations: 0 / 0.8253 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002879/0.5361, allocations: 40.62 kB / 0.8253 GB, free: 2.914 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001913/0.5363, allocations: 128.7 kB / 0.8254 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000885/0.5372, allocations: 210.8 kB / 0.8256 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5372, allocations: 0 / 0.8256 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.5376, allocations: 106.4 kB / 0.8257 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.5379, allocations: 13.14 kB / 0.8257 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.5393, allocations: 437.3 kB / 0.8261 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.5394, allocations: 0.685 MB / 0.8268 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.5395, allocations: 24 kB / 0.8268 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.5395, allocations: 0 / 0.8268 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of Templates: time 0.00323/0.5427, allocations: 1.444 MB / 0.8283 GB, free: 1.738 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.886786853079684] Failed to read output from testmodel.py, exit status != 0: 0.5499656760366634 0.561479108 0.036141394 Calling exit ...