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.006618/0.006617, allocations: 100.6 kB / 15.73 MB, free: 5.98 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.001153/0.001153, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.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 0.8915/0.8915, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 64.81 kB / 0.5951 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1902, allocations: 82.03 MB / 0.6752 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002826/0.1931, allocations: 1.449 MB / 0.6766 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1945, allocations: 0.7874 MB / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.1946, allocations: 0 / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.1946, allocations: 0 / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.1947, allocations: 3.938 kB / 0.6773 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.1952, allocations: 131.5 kB / 0.6775 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.1953, allocations: 31.92 kB / 0.6775 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.1954, allocations: 4 kB / 0.6775 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.1954, allocations: 19.92 kB / 0.6775 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.1955, allocations: 19.97 kB / 0.6775 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1955, allocations: 0 / 0.6775 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.196, allocations: 327.3 kB / 0.6779 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.196, allocations: 7.938 kB / 0.6779 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.196, allocations: 15.92 kB / 0.6779 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.1964, allocations: 194.5 kB / 0.6781 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1964, allocations: 0 / 0.6781 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1964, allocations: 0 / 0.6781 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.1964, allocations: 0 / 0.6781 GB, free: 7.977 MB / 0.5137 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.0005375/0.1969, allocations: 376 kB / 0.6784 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.197, allocations: 12.03 kB / 0.6784 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.197, allocations: 38.73 kB / 0.6785 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004656/0.1975, allocations: 64.8 kB / 0.6785 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1976, allocations: 176.5 kB / 0.6787 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1977, allocations: 384 / 0.6787 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1977, allocations: 4.375 kB / 0.6787 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.198, allocations: 85.75 kB / 0.6788 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.198, allocations: 4 kB / 0.6788 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.198, allocations: 3.984 kB / 0.6788 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.198, allocations: 0 / 0.6788 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.1984, allocations: 91.91 kB / 0.6789 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.199, allocations: 300.7 kB / 0.6792 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.1993, allocations: 90.5 kB / 0.6793 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1996, allocations: 56.88 kB / 0.6793 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1996, allocations: 0 / 0.6793 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1996, allocations: 30.56 kB / 0.6793 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1996, allocations: 0 / 0.6793 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000707/0.2003, allocations: 173.6 kB / 0.6795 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2004, allocations: 51.41 kB / 0.6796 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2005, allocations: 105.8 kB / 0.6797 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2005, allocations: 25.7 kB / 0.6797 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.2006, allocations: 80.14 kB / 0.6798 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2006, allocations: 11.88 kB / 0.6798 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2007, allocations: 21.7 kB / 0.6798 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2008, allocations: 314.8 kB / 0.6801 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.201, allocations: 43.95 kB / 0.6801 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.2012, allocations: 47.95 kB / 0.6802 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.2016, allocations: 88.83 kB / 0.6803 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2016, allocations: 4 kB / 0.6803 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004343/0.202, allocations: 121.5 kB / 0.6804 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2021, allocations: 8 kB / 0.6804 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2021, allocations: 0 / 0.6804 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2021, allocations: 4.031 kB / 0.6804 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2023, allocations: 19.97 kB / 0.6804 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2023, allocations: 0 / 0.6804 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2024, allocations: 19.97 kB / 0.6804 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2024, allocations: 256 / 0.6804 GB, free: 5.32 MB / 0.5137 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 9.286e-05/0.2025, allocations: 121.8 kB / 0.6805 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.2025, allocations: 3.906 kB / 0.6806 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.2026, allocations: 3.125 kB / 0.6806 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2026, allocations: 0 / 0.6806 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2026, allocations: 8 kB / 0.6806 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2026, allocations: 0 / 0.6806 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.2028, allocations: 177.6 kB / 0.6807 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2028, allocations: 0 / 0.6807 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.203, allocations: 27.91 kB / 0.6808 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.203, allocations: 0 / 0.6808 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.203, allocations: 0 / 0.6808 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.203, allocations: 4 kB / 0.6808 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.203, allocations: 0 / 0.6808 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.2035, allocations: 223.3 kB / 0.681 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2037, allocations: 77.11 kB / 0.681 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2037, allocations: 0 / 0.681 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2038, allocations: 24 kB / 0.6811 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.2039, allocations: 4 kB / 0.6811 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2039, allocations: 3.984 kB / 0.6811 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.204, allocations: 79.28 kB / 0.6812 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.204, allocations: 3.938 kB / 0.6812 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000247/0.2042, allocations: 12 kB / 0.6812 GB, free: 4.473 MB / 0.5137 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.000946/0.2052, allocations: 0.7747 MB / 0.6819 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.2056, allocations: 87.94 kB / 0.682 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2056, allocations: 0 / 0.682 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.2058, allocations: 52.02 kB / 0.6821 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2062, allocations: 10.02 kB / 0.6821 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.2069, allocations: 195 kB / 0.6823 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.2073, allocations: 0.6768 MB / 0.6829 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.677e-05/0.2074, allocations: 8 kB / 0.6829 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.2074, allocations: 15.44 kB / 0.6829 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.2074, allocations: 0 / 0.6829 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.2285, allocations: 1.725 MB / 0.6846 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.726, allocations: 11.2 kB / 0.6846 GB, free: 0.9414 MB / 0.5137 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)