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.005188/0.005188, allocations: 103.5 kB / 15.73 MB, free: 6.445 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.001179/0.001179, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 0.9592/0.9592, allocations: 143.1 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 59.91 kB / 0.5951 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.462, allocations: 82.03 MB / 0.6752 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002661/0.4648, allocations: 1.436 MB / 0.6766 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.4661, allocations: 0.7866 MB / 0.6773 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.4661, allocations: 1.125 kB / 0.6774 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.4661, allocations: 3.984 kB / 0.6774 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.4662, allocations: 9.156 kB / 0.6774 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.4666, allocations: 132.7 kB / 0.6775 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.4667, allocations: 34.3 kB / 0.6775 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.4668, allocations: 3.438 kB / 0.6775 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.4669, allocations: 18.45 kB / 0.6775 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.467, allocations: 23.16 kB / 0.6776 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.467, allocations: 6.188 kB / 0.6776 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.4674, allocations: 318 kB / 0.6779 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.4675, allocations: 9.016 kB / 0.6779 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.4675, allocations: 13.86 kB / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.4678, allocations: 195.1 kB / 0.6781 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4678, allocations: 1.156 kB / 0.6781 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4678, allocations: 0 / 0.6781 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4679, allocations: 0 / 0.6781 GB, free: 15.17 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.0005627/0.4684, allocations: 371.7 kB / 0.6784 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4685, allocations: 13.66 kB / 0.6785 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.4685, allocations: 31.5 kB / 0.6785 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.469, allocations: 67.09 kB / 0.6785 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.4691, allocations: 170.7 kB / 0.6787 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.4692, allocations: 5.531 kB / 0.6787 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.4692, allocations: 9.609 kB / 0.6787 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.4695, allocations: 85.25 kB / 0.6788 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4695, allocations: 0 / 0.6788 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4696, allocations: 4.812 kB / 0.6788 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4696, allocations: 1.031 kB / 0.6788 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.47, allocations: 90.5 kB / 0.6789 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.4705, allocations: 297.3 kB / 0.6792 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.4709, allocations: 99.81 kB / 0.6793 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.4711, allocations: 47.88 kB / 0.6793 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.4711, allocations: 0 / 0.6793 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4712, allocations: 35.88 kB / 0.6794 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4712, allocations: 4 kB / 0.6794 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007469/0.4719, allocations: 164.9 kB / 0.6795 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.472, allocations: 52.59 kB / 0.6796 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.4721, allocations: 107.4 kB / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.4721, allocations: 26.64 kB / 0.6797 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.4722, allocations: 85.42 kB / 0.6798 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.4722, allocations: 8.969 kB / 0.6798 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.4722, allocations: 12.34 kB / 0.6798 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4724, allocations: 319.8 kB / 0.6801 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.4726, allocations: 50.36 kB / 0.6801 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.4728, allocations: 46.05 kB / 0.6802 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.4732, allocations: 93.3 kB / 0.6803 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4732, allocations: 0 / 0.6803 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004592/0.4737, allocations: 120.8 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4737, allocations: 4.906 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4737, allocations: 4 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4738, allocations: 5.062 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4739, allocations: 21.5 kB / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4739, allocations: 0 / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.4741, allocations: 18.17 kB / 0.6804 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4741, allocations: 9.234 kB / 0.6805 GB, free: 13.03 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 8.532e-05/0.4742, allocations: 112 kB / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.4742, allocations: 5.031 kB / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.4742, allocations: 4.156 kB / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4742, allocations: 1.062 kB / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4743, allocations: 0 / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4743, allocations: 0 / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.4745, allocations: 182.5 kB / 0.6807 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4745, allocations: 0 / 0.6807 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.4746, allocations: 24.94 kB / 0.6808 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4746, allocations: 1.188 kB / 0.6808 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4746, allocations: 1.281 kB / 0.6808 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4746, allocations: 0 / 0.6808 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4746, allocations: 4.188 kB / 0.6808 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.4752, allocations: 223.1 kB / 0.681 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.4752, allocations: 78.17 kB / 0.6811 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.4753, allocations: 13.06 kB / 0.6811 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.4754, allocations: 18.78 kB / 0.6811 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.4755, allocations: 1.094 kB / 0.6811 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.4755, allocations: 1.094 kB / 0.6811 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.4755, allocations: 84.11 kB / 0.6812 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4755, allocations: 0 / 0.6812 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002419/0.4758, allocations: 18.88 kB / 0.6812 GB, free: 12.29 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.0008908/0.4767, allocations: 0.7561 MB / 0.6819 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4772, allocations: 98.92 kB / 0.682 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4772, allocations: 0 / 0.682 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.4774, allocations: 53.3 kB / 0.6821 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4777, allocations: 1.469 kB / 0.6821 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000719/0.4784, allocations: 195.7 kB / 0.6823 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.4787, allocations: 0.6775 MB / 0.6829 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.828e-05/0.4787, allocations: 7.406 kB / 0.6829 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.4788, allocations: 12.97 kB / 0.6829 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.4788, allocations: 4 kB / 0.683 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.4969, allocations: 1.689 MB / 0.6846 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.956, allocations: 11.52 kB / 0.6846 GB, free: 9.691 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)