Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.001438/0.001438, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001801/0.001802, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.435/3.435, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.341/3.341, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000848/0.0008482, allocations: 25.31 kB / 0.6737 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5203/0.5212, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00127/0.5225, allocations: 371.5 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.5259, allocations: 1.438 MB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.526, allocations: 0 / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.526, allocations: 0 / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.5262, allocations: 3.938 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.5268, allocations: 103.7 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.5268, allocations: 7.984 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.5269, allocations: 7.984 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.527, allocations: 11.94 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.5271, allocations: 23.89 kB / 0.7891 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.5271, allocations: 4 kB / 0.7891 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.5279, allocations: 299.5 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.528, allocations: 11.92 kB / 0.7894 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.528, allocations: 25.7 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.5284, allocations: 144.1 kB / 0.7896 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.5284, allocations: 4 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5285, allocations: 4 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5285, allocations: 0 / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000885/0.5294, allocations: 363.2 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.49e-05/0.5295, allocations: 12.03 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.5295, allocations: 34.56 kB / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006645/0.5302, allocations: 71.83 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.5305, allocations: 179 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.5306, allocations: 8 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.5306, allocations: 4 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.5311, allocations: 77.64 kB / 0.7903 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.5311, allocations: 4 kB / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.5312, allocations: 0 / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.5312, allocations: 0 / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.5318, allocations: 79.92 kB / 0.7904 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.5321, allocations: 177.7 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.5331, allocations: 154.4 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.5331, allocations: 0 / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.5332, allocations: 38.56 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.5332, allocations: 0 / 0.7908 GB, free: 8.031 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.007092/0.5403, allocations: 0.9535 MB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.5404, allocations: 55.41 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.5407, allocations: 113.8 kB / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.5407, allocations: 25.7 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5408, allocations: 80.14 kB / 0.792 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.5409, allocations: 35.53 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.5409, allocations: 4 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.5412, allocations: 322.8 kB / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.5419, allocations: 115.9 kB / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.5426, allocations: 119.9 kB / 0.7925 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.5434, allocations: 111.9 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5434, allocations: 3.938 kB / 0.7926 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001597/0.545, allocations: 277.5 kB / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.545, allocations: 11.94 kB / 0.7929 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5451, allocations: 0 / 0.7929 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5451, allocations: 0 / 0.7929 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.5456, allocations: 71.86 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.5456, allocations: 0 / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.5461, allocations: 51.95 kB / 0.793 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.5461, allocations: 4.312 kB / 0.793 GB, free: 5.648 MB / 0.6075 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 (9): * Single equations (assignments): 9 * 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 0.0001597/0.5463, allocations: 113.8 kB / 0.7931 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.5463, allocations: 7.906 kB / 0.7932 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.5464, allocations: 12.73 kB / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.5464, allocations: 4 kB / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5464, allocations: 4 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.5464, allocations: 0.75 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.5492, allocations: 0.6598 MB / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5493, allocations: 3.984 kB / 0.7938 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.5497, allocations: 64 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.5497, allocations: 0 / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.5498, allocations: 12 kB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.5498, allocations: 7.953 kB / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.5498, allocations: 4 kB / 0.7939 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.5516, allocations: 400.4 kB / 0.7943 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5517, allocations: 92.95 kB / 0.7944 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.5517, allocations: 0 / 0.7944 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.5522, allocations: 51.95 kB / 0.7944 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.5523, allocations: 7.984 kB / 0.7944 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.5523, allocations: 4 kB / 0.7944 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001163/0.5525, allocations: 91.27 kB / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5525, allocations: 0 / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005931/0.5531, allocations: 40 kB / 0.7946 GB, free: 3.961 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.002479/0.5556, allocations: 1.105 MB / 0.7956 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.5571, allocations: 259.7 kB / 0.7959 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5571, allocations: 0 / 0.7959 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.5579, allocations: 120 kB / 0.796 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.5582, allocations: 8 kB / 0.796 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.5636, allocations: 1.153 MB / 0.7971 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/0.5645, allocations: 0.6887 MB / 0.7978 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.5647, allocations: 24.67 kB / 0.7978 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.5649, allocations: 31.41 kB / 0.7979 GB, free: 476 kB / 0.6075 GB Notification: Performance of SimCode: time 1.262e-06/0.5649, allocations: 0 / 0.7979 GB, free: 476 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.5938, allocations: 2.417 MB / 0.8002 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007749/0.5947, allocations: 195 kB / 0.8004 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/3.779, allocations: 3.375 kB / 0.8004 GB, free: 13.95 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: