Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001238, allocations: 104.5 kB / 16.36 MB, free: 6.312 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.001024/0.001025, allocations: 190.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 72.45 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2267, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003206/0.2299, allocations: 1.44 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2314, allocations: 0.8273 MB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.2314, allocations: 0 / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.2315, allocations: 7.938 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.2316, allocations: 7.984 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.2321, allocations: 123.5 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.97e-05/0.2322, allocations: 35.91 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.2323, allocations: 8 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.2323, allocations: 15.92 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.2324, allocations: 19.98 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.2324, allocations: 0 / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.2329, allocations: 319.3 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.233, allocations: 11.92 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.233, allocations: 11.94 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.2333, allocations: 195.6 kB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2333, allocations: 0 / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2333, allocations: 0 / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2334, allocations: 4 kB / 0.7877 GB, free: 112 kB / 0.6544 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.3925/0.6259, allocations: 375.2 kB / 0.7881 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6259, allocations: 7.844 kB / 0.7881 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.6264, allocations: 68.3 kB / 0.7882 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.6265, allocations: 170.5 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.6265, allocations: 3.188 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.6265, allocations: 384 / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.6268, allocations: 88.39 kB / 0.7884 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6268, allocations: 7.875 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6269, allocations: 0 / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6269, allocations: 1.844 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.6272, allocations: 89.31 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.6277, allocations: 291.4 kB / 0.7888 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.628, allocations: 104.9 kB / 0.7889 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.6282, allocations: 50.61 kB / 0.7889 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.6282, allocations: 2.094 kB / 0.7889 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.6282, allocations: 35.3 kB / 0.789 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6283, allocations: 2.844 kB / 0.789 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0006462/0.6289, allocations: 163.9 kB / 0.7891 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/0.6289, allocations: 55.72 kB / 0.7892 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.629, allocations: 101.8 kB / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.629, allocations: 28.98 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.629, allocations: 81.14 kB / 0.7894 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.6291, allocations: 13.09 kB / 0.7894 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.6291, allocations: 16.06 kB / 0.7894 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.6292, allocations: 314.6 kB / 0.7897 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.6294, allocations: 49.45 kB / 0.7898 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.6295, allocations: 53.2 kB / 0.7898 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.6299, allocations: 89.08 kB / 0.7899 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6299, allocations: 0 / 0.7899 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003904/0.6303, allocations: 129.1 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.6303, allocations: 5.312 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6303, allocations: 2.625 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6303, allocations: 0 / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.6305, allocations: 22.31 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6305, allocations: 3.562 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.6306, allocations: 15.69 kB / 0.7901 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.6306, allocations: 2.844 kB / 0.7901 GB, free: 45.45 MB / 0.6544 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 4.904e-05/0.6307, allocations: 117.6 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.6307, allocations: 2.688 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.6308, allocations: 3.125 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6308, allocations: 0.5 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6308, allocations: 3.75 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.6308, allocations: 84.89 kB / 0.7903 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.6308, allocations: 0 / 0.7903 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.631, allocations: 16.27 kB / 0.7903 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.631, allocations: 17.77 kB / 0.7903 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000486/0.6315, allocations: 210.8 kB / 0.7905 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004156/0.6319, allocations: 292.7 kB / 0.7908 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001929/0.6321, allocations: 56.59 kB / 0.7908 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.206e-05/0.6321, allocations: 81.72 kB / 0.7909 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of Backend: time 3.21e-07/0.6322, allocations: 1.969 kB / 0.7909 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006203/0.6328, allocations: 170.3 kB / 0.7911 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003829/0.6332, allocations: 0.5567 MB / 0.7916 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.00357/0.6368, allocations: 1.702 MB / 0.7933 GB, free: 44.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)