Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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) 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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.81 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2878, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00203/0.2899, allocations: 0.6335 MB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.2921, allocations: 1.464 MB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.2922, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.2922, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.2923, allocations: 3.938 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.2929, allocations: 127 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.2929, allocations: 19.98 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.293, allocations: 7.938 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.2931, allocations: 19.86 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.2931, allocations: 23.91 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2932, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.2937, allocations: 311.4 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.2937, allocations: 15.92 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.2937, allocations: 7.938 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2941, allocations: 187.9 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2941, allocations: 4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2941, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2941, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 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.000492/0.2946, allocations: 383.3 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2946, allocations: 15.97 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.295, allocations: 60.77 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2952, allocations: 168.3 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2952, allocations: 4.375 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2952, allocations: 8.359 kB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2956, allocations: 77.97 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2956, allocations: 3.984 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.2956, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2956, allocations: 4 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.296, allocations: 67.92 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.2963, allocations: 165.7 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.2969, allocations: 130.4 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2971, allocations: 44.94 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.2971, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2971, allocations: 42.5 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2972, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 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.00417/0.3013, allocations: 0.7817 MB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3014, allocations: 55.39 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3015, allocations: 113.8 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.3015, allocations: 25.7 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.3016, allocations: 92.14 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.3017, allocations: 27.56 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.3017, allocations: 25.7 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3019, allocations: 314.9 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.3023, allocations: 103.8 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.3028, allocations: 99.84 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.3036, allocations: 196.6 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3036, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009203/0.3046, allocations: 245.3 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3046, allocations: 12 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3046, allocations: 0 / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3046, allocations: 0 / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.305, allocations: 51.94 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.305, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.3052, allocations: 35.95 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3052, allocations: 4.75 kB / 1.074 GB, free: 4.07 MB / 0.8262 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 9.44e-05/0.3053, allocations: 118.3 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3054, allocations: 4 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.3054, allocations: 20.36 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3054, allocations: 3.938 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3054, allocations: 3.984 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3054, allocations: 0 / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3072, allocations: 0.5974 MB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3072, allocations: 4 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.3075, allocations: 56 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3075, allocations: 288 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3075, allocations: 4 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3075, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3075, allocations: 7.875 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009567/0.3085, allocations: 348.8 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.3085, allocations: 81.09 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3086, allocations: 4 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3088, allocations: 39.95 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3089, allocations: 15.91 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3089, allocations: 4 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.309, allocations: 91.66 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.309, allocations: 0 / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003024/0.3093, allocations: 36 kB / 1.076 GB, free: 2.535 MB / 0.8262 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.0002237/0.3095, allocations: 131.2 kB / 1.076 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009515/0.3105, allocations: 215.9 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3105, allocations: 4 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004695/0.311, allocations: 111.9 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3112, allocations: 4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3128, allocations: 410.2 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3131, allocations: 0.6884 MB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.3132, allocations: 20.95 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.3132, allocations: 19.42 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3132, allocations: 0 / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of Templates: time 0.004169/0.3174, allocations: 1.661 MB / 1.079 GB, free: 15.22 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)