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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 252 MB / 267 MB, free: 10.99 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.0009379/0.000938, allocations: 186.9 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007543/0.0007544, allocations: 87.89 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 11.25 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2633, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002004/0.2654, allocations: 1.172 MB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2667, allocations: 0.7694 MB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2667, allocations: 0 / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.2668, allocations: 4 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.2668, allocations: 3.938 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2672, allocations: 99.69 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.2673, allocations: 27.92 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2674, allocations: 11.97 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.2675, allocations: 8 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.2676, allocations: 19.91 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.2676, allocations: 4 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.268, allocations: 303.4 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2681, allocations: 7.984 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.2681, allocations: 25.7 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2683, allocations: 135.9 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.2683, allocations: 3.938 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2683, allocations: 0 / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2684, allocations: 0 / 0.9028 GB, free: 61.19 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.0005971/0.269, allocations: 379.6 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.269, allocations: 8.031 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.2691, allocations: 42.5 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.2695, allocations: 91.77 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2697, allocations: 163.1 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.2697, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2697, allocations: 4 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.27, allocations: 97.56 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.27, allocations: 4 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2701, allocations: 0 / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2701, allocations: 0 / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.2705, allocations: 115.8 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.271, allocations: 312.8 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.2714, allocations: 106.5 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2716, allocations: 64.88 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2716, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2716, allocations: 34.56 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.2716, allocations: 7.984 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007292/0.2724, allocations: 205.5 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.2724, allocations: 51.41 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.2725, allocations: 105.8 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2725, allocations: 25.7 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.2726, allocations: 88.17 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2726, allocations: 7.844 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.2726, allocations: 0 / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.2727, allocations: 314.8 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2729, allocations: 63.94 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.2731, allocations: 55.95 kB / 0.9051 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.2733, allocations: 56.02 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2733, allocations: 0 / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004032/0.2737, allocations: 149.5 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2737, allocations: 4 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2738, allocations: 3.984 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2738, allocations: 0 / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.274, allocations: 27.94 kB / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.274, allocations: 0 / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2741, allocations: 32 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2741, allocations: 4 kB / 0.9053 GB, free: 58.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.2742, allocations: 105.8 kB / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.2742, allocations: 0 / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.2743, allocations: 19.05 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2743, allocations: 4 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2743, allocations: 3.953 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2743, allocations: 0 / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.2744, allocations: 165.6 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2745, allocations: 3.984 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2746, allocations: 23.98 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2746, allocations: 4 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2746, allocations: 8.234 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2746, allocations: 4 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.2746, allocations: 3.938 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.2751, allocations: 243.4 kB / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.2751, allocations: 81.02 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2751, allocations: 4 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2753, allocations: 19.98 kB / 0.906 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.2753, allocations: 12.02 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2753, allocations: 0 / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.2754, allocations: 83.23 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2754, allocations: 0 / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002169/0.2756, allocations: 15.98 kB / 0.9061 GB, free: 57.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006589/0.2762, allocations: 0.7788 MB / 0.9069 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.2767, allocations: 115.9 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2767, allocations: 4 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.2769, allocations: 64 kB / 0.907 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2772, allocations: 4 kB / 0.907 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.2779, allocations: 210.2 kB / 0.9072 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2781, allocations: 0.677 MB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.404e-05/0.2782, allocations: 8 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.2782, allocations: 15.42 kB / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2782, allocations: 0 / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.2918, allocations: 1.413 MB / 0.9093 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.292, allocations: 196.6 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.857, allocations: 2.391 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)