Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001583/0.001583, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.063/1.063, allocations: 143 MB / 433.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.91 kB / 0.5138 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2092, allocations: 82.05 MB / 0.5939 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003382/0.2126, allocations: 1.49 MB / 0.5954 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2142, allocations: 0.7876 MB / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.2143, allocations: 0 / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.2144, allocations: 0 / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.2145, allocations: 3.938 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.2152, allocations: 117.3 kB / 0.5962 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.2153, allocations: 23.98 kB / 0.5963 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2154, allocations: 15.86 kB / 0.5963 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.2155, allocations: 15.98 kB / 0.5963 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.2155, allocations: 19.91 kB / 0.5963 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2156, allocations: 11.94 kB / 0.5963 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.2162, allocations: 315.4 kB / 0.5966 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.2162, allocations: 4 kB / 0.5966 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2162, allocations: 19.91 kB / 0.5967 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.2167, allocations: 195.9 kB / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.2167, allocations: 0 / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.976e-06/0.2167, allocations: 0 / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2167, allocations: 0 / 0.5968 GB, free: 6.797 MB / 0.4981 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.0007358/0.2174, allocations: 378.7 kB / 0.5972 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.2175, allocations: 8.031 kB / 0.5972 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.2176, allocations: 34.75 kB / 0.5972 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.2181, allocations: 64.84 kB / 0.5973 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.2183, allocations: 172.3 kB / 0.5975 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2183, allocations: 384 / 0.5975 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2183, allocations: 384 / 0.5975 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.2187, allocations: 97.67 kB / 0.5976 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2187, allocations: 0 / 0.5976 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2187, allocations: 4 kB / 0.5976 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2187, allocations: 0 / 0.5976 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.2191, allocations: 91.89 kB / 0.5977 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.2197, allocations: 300.8 kB / 0.5979 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.2201, allocations: 94.5 kB / 0.598 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.2203, allocations: 56.8 kB / 0.5981 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2203, allocations: 0 / 0.5981 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2203, allocations: 34.56 kB / 0.5981 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2203, allocations: 3.938 kB / 0.5981 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007433/0.2211, allocations: 165.5 kB / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2212, allocations: 51.41 kB / 0.5983 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.2213, allocations: 101.9 kB / 0.5984 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2213, allocations: 29.83 kB / 0.5985 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.2214, allocations: 84.14 kB / 0.5985 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.2214, allocations: 7.891 kB / 0.5985 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.2214, allocations: 13.72 kB / 0.5986 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2216, allocations: 314.8 kB / 0.5989 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.2218, allocations: 55.89 kB / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.222, allocations: 43.94 kB / 0.599 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.2224, allocations: 88.83 kB / 0.599 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2224, allocations: 0 / 0.599 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004349/0.2228, allocations: 121.5 kB / 0.5992 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2229, allocations: 8.031 kB / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2229, allocations: 4 kB / 0.5992 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2229, allocations: 256 / 0.5992 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2231, allocations: 23.91 kB / 0.5992 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2231, allocations: 4 kB / 0.5992 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2232, allocations: 23.97 kB / 0.5992 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.2232, allocations: 7.938 kB / 0.5992 GB, free: 4.129 MB / 0.4981 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 8.463e-05/0.2233, allocations: 113.8 kB / 0.5993 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.2234, allocations: 0 / 0.5993 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.2234, allocations: 11.11 kB / 0.5993 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2234, allocations: 0 / 0.5993 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2234, allocations: 0 / 0.5993 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2234, allocations: 0 / 0.5993 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.2236, allocations: 165.6 kB / 0.5995 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2237, allocations: 4 kB / 0.5995 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2238, allocations: 27.97 kB / 0.5995 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2238, allocations: 0 / 0.5995 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2238, allocations: 3.984 kB / 0.5995 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2238, allocations: 0 / 0.5995 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2238, allocations: 4 kB / 0.5995 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.2243, allocations: 219.3 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.2244, allocations: 89.03 kB / 0.5998 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2244, allocations: 0 / 0.5998 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2245, allocations: 19.92 kB / 0.5999 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.2246, allocations: 3.984 kB / 0.5999 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.2246, allocations: 0 / 0.5999 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.2247, allocations: 79.28 kB / 0.5999 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2247, allocations: 0 / 0.5999 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002456/0.2249, allocations: 20 kB / 0.5999 GB, free: 3.293 MB / 0.4981 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.0008375/0.2258, allocations: 0.7553 MB / 0.6007 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.2263, allocations: 99.88 kB / 0.6008 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2263, allocations: 0 / 0.6008 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.2265, allocations: 52 kB / 0.6008 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2268, allocations: 4 kB / 0.6008 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/0.2276, allocations: 191.1 kB / 0.601 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.2279, allocations: 0.6768 MB / 0.6017 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.591e-05/0.228, allocations: 15.94 kB / 0.6017 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2281, allocations: 19.42 kB / 0.6017 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2281, allocations: 0 / 0.6017 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3638/0.5918, allocations: 1.529 MB / 0.6032 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.592, allocations: 211.2 kB / 0.6034 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.289, allocations: 0.5 kB / 0.6034 GB, free: 44.18 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)