Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001518/0.001525, allocations: 108 kB / 15.6 MB, free: 132 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.001658/0.001659, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 66.31 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002805/0.3136, allocations: 1.45 MB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.315, allocations: 0.7981 MB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.315, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.3151, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.3151, allocations: 7.938 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.3156, allocations: 123.1 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.3157, allocations: 43.89 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3158, allocations: 8 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.3159, allocations: 11.98 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.3159, allocations: 19.92 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.316, allocations: 4 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.3165, allocations: 319.3 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.3165, allocations: 7.984 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.3165, allocations: 11.94 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3168, allocations: 195.6 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3169, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3169, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3169, allocations: 4 kB / 1.071 GB, free: 7.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005694/0.3174, allocations: 379.7 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3175, allocations: 11.97 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.318, allocations: 68.84 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3181, allocations: 164.3 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3182, allocations: 384 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3182, allocations: 4.375 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.3185, allocations: 93.88 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3185, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3185, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3185, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.319, allocations: 95.89 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3196, allocations: 296.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.32, allocations: 90.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.3202, allocations: 52.88 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3202, allocations: 11.92 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3203, allocations: 34.55 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3203, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0007769/0.3211, allocations: 161.6 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3211, allocations: 51.41 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.3212, allocations: 106 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3212, allocations: 29.7 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.3212, allocations: 80.14 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3213, allocations: 7.906 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.3213, allocations: 17.7 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.3214, allocations: 314.8 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3217, allocations: 47.89 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3219, allocations: 47.89 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.3223, allocations: 96.75 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3223, allocations: 4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004705/0.3228, allocations: 121.9 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3228, allocations: 5.562 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3228, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3228, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.323, allocations: 19.97 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.323, allocations: 7.938 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.3231, allocations: 20 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.3232, allocations: 0 / 1.073 GB, free: 4.812 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 (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 7.76e-05/0.3232, allocations: 121.7 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3233, allocations: 3.906 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.3233, allocations: 3.125 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3233, allocations: 4 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3233, allocations: 3.984 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3233, allocations: 0 / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3235, allocations: 173.6 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3235, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3237, allocations: 19.97 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3237, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3237, allocations: 4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3237, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3237, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.3242, allocations: 223.4 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.3243, allocations: 77.11 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3243, allocations: 3.984 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3244, allocations: 15.98 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.3245, allocations: 7.922 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3245, allocations: 4 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.3245, allocations: 83.31 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3245, allocations: 4 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002445/0.3248, allocations: 8 kB / 1.074 GB, free: 3.973 MB / 0.8262 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.0001583/0.325, allocations: 115.8 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.3255, allocations: 91.91 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3255, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.3257, allocations: 52 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.326, allocations: 11.94 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.3266, allocations: 169.3 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3268, allocations: 0.6807 MB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.668e-05/0.3269, allocations: 8 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.327, allocations: 15.38 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.327, allocations: 0 / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.002867/0.3298, allocations: 0.8198 MB / 1.076 GB, free: 1.961 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)