Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 184.2 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007946/0.0007946, allocations: 91.62 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 8.812 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2319, allocations: 106.3 MB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001596/0.2335, allocations: 1.164 MB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2346, allocations: 0.8544 MB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.2347, allocations: 4 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.2347, allocations: 4 kB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.2348, allocations: 0 / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.2351, allocations: 95.69 kB / 0.9035 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.2352, allocations: 31.92 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.2353, allocations: 11.98 kB / 0.9036 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.2353, allocations: 8 kB / 0.9036 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.2354, allocations: 23.89 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2354, allocations: 0 / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.2358, allocations: 311.4 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.2358, allocations: 4 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.2359, allocations: 41.61 kB / 0.9039 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.2361, allocations: 135.9 kB / 0.9041 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2361, allocations: 0 / 0.9041 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2361, allocations: 3.938 kB / 0.9041 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2361, allocations: 4 kB / 0.9041 GB, free: 60.85 MB / 0.6042 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.0004362/0.2365, allocations: 379.7 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2366, allocations: 12.03 kB / 0.9044 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.237, allocations: 80.8 kB / 0.9045 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.065e-05/0.2371, allocations: 172.3 kB / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2371, allocations: 384 / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2372, allocations: 384 / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.2374, allocations: 101.9 kB / 0.9048 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2375, allocations: 0 / 0.9048 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2375, allocations: 0 / 0.9048 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2375, allocations: 0 / 0.9048 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.2379, allocations: 115.9 kB / 0.9049 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.2383, allocations: 312.8 kB / 0.9052 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2387, allocations: 110.5 kB / 0.9053 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2389, allocations: 60.88 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2389, allocations: 0 / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.2389, allocations: 42.56 kB / 0.9054 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.239, allocations: 4 kB / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0006908/0.2397, allocations: 201.6 kB / 0.9056 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.2397, allocations: 51.41 kB / 0.9056 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.309e-05/0.2398, allocations: 105.8 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.2398, allocations: 29.64 kB / 0.9058 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.2398, allocations: 92.08 kB / 0.9059 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.2398, allocations: 3.984 kB / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.2398, allocations: 0 / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.2399, allocations: 314.8 kB / 0.9062 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.2401, allocations: 63.94 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.2403, allocations: 59.89 kB / 0.9063 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.2407, allocations: 116.8 kB / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2407, allocations: 0 / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004156/0.2411, allocations: 153.4 kB / 0.9065 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2411, allocations: 4 kB / 0.9065 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2412, allocations: 4.031 kB / 0.9065 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2412, allocations: 0 / 0.9065 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.2413, allocations: 27.97 kB / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2414, allocations: 3.984 kB / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2415, allocations: 31.92 kB / 0.9066 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2415, allocations: 0 / 0.9066 GB, free: 58.03 MB / 0.6042 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 5.959e-05/0.2416, allocations: 117.8 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.2416, allocations: 0 / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.2416, allocations: 3.125 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2416, allocations: 0 / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2416, allocations: 4 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2416, allocations: 4 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.2418, allocations: 173.6 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2418, allocations: 0 / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2419, allocations: 27.97 kB / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2419, allocations: 0 / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2419, allocations: 4 kB / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.242, allocations: 4 kB / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.242, allocations: 0 / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.2424, allocations: 251.3 kB / 0.9072 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.2424, allocations: 81.02 kB / 0.9072 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2425, allocations: 4 kB / 0.9072 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2426, allocations: 23.97 kB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.2426, allocations: 0 / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2427, allocations: 4 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.254e-05/0.2427, allocations: 91.55 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2427, allocations: 0 / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002174/0.2429, allocations: 8 kB / 0.9074 GB, free: 57.16 MB / 0.6042 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.0001547/0.2431, allocations: 111.2 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.2435, allocations: 127.8 kB / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2435, allocations: 0 / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2437, allocations: 67.95 kB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.244, allocations: 8.281 kB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.2446, allocations: 202.4 kB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2447, allocations: 0.6809 MB / 0.9085 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.2447, allocations: 11.44 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2447, allocations: 0 / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.00209/0.2468, allocations: 0.8727 MB / 0.9094 GB, free: 55.02 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)