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.001158/0.001158, 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.001555/0.001555, allocations: 193.6 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.075/1.075, allocations: 143 MB / 433.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 71.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2228, allocations: 82.03 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.004521/0.2274, allocations: 1.437 MB / 0.5958 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2289, allocations: 0.7874 MB / 0.5966 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.2289, allocations: 4 kB / 0.5966 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.229, allocations: 3.938 kB / 0.5966 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.2291, allocations: 7.938 kB / 0.5966 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.2297, allocations: 123.5 kB / 0.5967 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2298, allocations: 35.92 kB / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.23, allocations: 7.938 kB / 0.5967 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.23, allocations: 15.98 kB / 0.5967 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.2301, allocations: 23.91 kB / 0.5968 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.2301, allocations: 4 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.2307, allocations: 323.3 kB / 0.5971 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.2307, allocations: 8 kB / 0.5971 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.2307, allocations: 11.92 kB / 0.5971 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.2311, allocations: 191.9 kB / 0.5973 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2311, allocations: 0 / 0.5973 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.656e-06/0.2311, allocations: 4 kB / 0.5973 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2311, allocations: 3.938 kB / 0.5973 GB, free: 6.48 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.000615/0.2318, allocations: 377.8 kB / 0.5976 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2318, allocations: 8.031 kB / 0.5977 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.2319, allocations: 34.73 kB / 0.5977 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004986/0.2324, allocations: 64.86 kB / 0.5978 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2325, allocations: 168.3 kB / 0.5979 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.2325, allocations: 8.375 kB / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2326, allocations: 384 / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.2329, allocations: 85.75 kB / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2329, allocations: 0 / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2329, allocations: 0 / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2329, allocations: 0 / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.2334, allocations: 95.84 kB / 0.5981 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.234, allocations: 300.8 kB / 0.5984 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.2344, allocations: 98.5 kB / 0.5985 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.2346, allocations: 44.88 kB / 0.5985 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2347, allocations: 4 kB / 0.5985 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2347, allocations: 34.56 kB / 0.5986 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2347, allocations: 3.938 kB / 0.5986 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007998/0.2355, allocations: 169.5 kB / 0.5987 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2356, allocations: 51.41 kB / 0.5988 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2357, allocations: 106 kB / 0.5989 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2357, allocations: 25.7 kB / 0.5989 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.2358, allocations: 84.14 kB / 0.599 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.2358, allocations: 7.906 kB / 0.599 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2359, allocations: 17.7 kB / 0.599 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.236, allocations: 314.8 kB / 0.5993 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.2363, allocations: 47.95 kB / 0.5993 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2365, allocations: 43.95 kB / 0.5994 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.2369, allocations: 92.83 kB / 0.5995 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2369, allocations: 3.938 kB / 0.5995 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004423/0.2373, allocations: 125.5 kB / 0.5996 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2374, allocations: 4 kB / 0.5996 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2374, allocations: 256 / 0.5996 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2374, allocations: 0 / 0.5996 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.2376, allocations: 27.97 kB / 0.5996 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2376, allocations: 3.938 kB / 0.5996 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2377, allocations: 20 kB / 0.5997 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2378, allocations: 8 kB / 0.5997 GB, free: 3.82 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 9.332e-05/0.2379, allocations: 109.8 kB / 0.5998 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.2379, allocations: 4 kB / 0.5998 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.2379, allocations: 3.125 kB / 0.5998 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.2379, allocations: 0 / 0.5998 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2379, allocations: 0 / 0.5998 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.238, allocations: 3.984 kB / 0.5998 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2381, allocations: 181.6 kB / 0.5999 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2382, allocations: 0 / 0.5999 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.2383, allocations: 23.97 kB / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2383, allocations: 3.938 kB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2383, allocations: 0 / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2383, allocations: 0 / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2383, allocations: 0 / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.2388, allocations: 227.3 kB / 0.6002 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2389, allocations: 81.02 kB / 0.6003 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2389, allocations: 4 kB / 0.6003 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.239, allocations: 19.97 kB / 0.6003 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.2391, allocations: 4 kB / 0.6003 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.2391, allocations: 3.984 kB / 0.6003 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.2392, allocations: 83.31 kB / 0.6004 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2392, allocations: 0 / 0.6004 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002297/0.2394, allocations: 16 kB / 0.6004 GB, free: 2.977 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.0008285/0.2402, allocations: 0.7592 MB / 0.6011 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.2407, allocations: 95.94 kB / 0.6012 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2407, allocations: 0 / 0.6012 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.2409, allocations: 52.02 kB / 0.6013 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.2413, allocations: 11.92 kB / 0.6013 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/0.242, allocations: 187.1 kB / 0.6015 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2423, allocations: 0.6807 MB / 0.6021 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.488e-05/0.2423, allocations: 15.94 kB / 0.6021 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2424, allocations: 11.44 kB / 0.6022 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.2424, allocations: 0 / 0.6022 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3241/0.5665, allocations: 1.651 MB / 0.6038 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.515, allocations: 10.83 kB / 0.6038 GB, free: 43.62 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)