Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.568/2.568, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.00157, allocations: 184.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001158, allocations: 92.05 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006586/0.0006586, allocations: 13.38 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2511, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.225, allocations: 138.6 MB / 1.114 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004407/1.226, allocations: 82.75 kB / 1.114 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03147/1.257, allocations: 4.144 MB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.287e-06/1.257, allocations: 0 / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.257, allocations: 0 / 1.118 GB, free: 31.29 MB / 0.698 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.0008209/1.258, allocations: 391 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.258, allocations: 11.67 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/1.258, allocations: 34.38 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006375/1.259, allocations: 58.95 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/1.259, allocations: 176.6 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/1.259, allocations: 3.938 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/1.259, allocations: 15.53 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/1.26, allocations: 71.69 kB / 1.118 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/1.26, allocations: 3.812 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/1.26, allocations: 2.672 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.26, allocations: 4 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/1.261, allocations: 83.38 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/1.261, allocations: 176 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/1.263, allocations: 151.8 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/1.263, allocations: 3.844 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.263, allocations: 30.56 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 4.96e-06/1.263, allocations: 4 kB / 1.119 GB, free: 30.31 MB / 0.698 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.01324/1.276, allocations: 1.02 MB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/1.276, allocations: 55.34 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/1.276, allocations: 106.8 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/1.276, allocations: 25.7 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/1.276, allocations: 84.02 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/1.277, allocations: 33.89 kB / 1.12 GB, free: 29.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/1.277, allocations: 0 / 1.12 GB, free: 29.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.277, allocations: 325.3 kB / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.278, allocations: 125.6 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/1.279, allocations: 132.3 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/1.281, allocations: 122.4 kB / 1.121 GB, free: 29.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.281, allocations: 0 / 1.121 GB, free: 29.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002618/1.283, allocations: 322.2 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/1.283, allocations: 3.875 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.283, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.283, allocations: 3.719 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/1.284, allocations: 69.02 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.284, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/1.285, allocations: 44.88 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/1.285, allocations: 9.328 kB / 1.121 GB, free: 29.52 MB / 0.698 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.0002015/1.285, allocations: 121.6 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/1.286, allocations: 6.531 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.884e-05/1.286, allocations: 12.09 kB / 1.121 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.286, allocations: 3.938 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/1.286, allocations: 7.938 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.286, allocations: 0 / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/1.29, allocations: 0.6897 MB / 1.122 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.29, allocations: 3.422 kB / 1.122 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000845/1.291, allocations: 68.88 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.291, allocations: 3.812 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/1.291, allocations: 3.047 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/1.291, allocations: 7.906 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.291, allocations: 7.797 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/1.294, allocations: 423.8 kB / 1.123 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/1.294, allocations: 87.83 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/1.294, allocations: 3.875 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/1.295, allocations: 50.56 kB / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/1.295, allocations: 9.594 kB / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/1.295, allocations: 10.81 kB / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001103/1.295, allocations: 89.67 kB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.295, allocations: 0 / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007032/1.296, allocations: 50.06 kB / 1.123 GB, free: 28.62 MB / 0.698 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.003204/1.299, allocations: 1.101 MB / 1.124 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002422/1.302, allocations: 280.7 kB / 1.124 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.302, allocations: 0 / 1.124 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.303, allocations: 141.8 kB / 1.124 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/1.303, allocations: 5.375 kB / 1.124 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009098/1.313, allocations: 1.225 MB / 1.126 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/1.313, allocations: 0.692 MB / 1.126 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003652/1.314, allocations: 26.23 kB / 1.126 GB, free: 26.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/1.314, allocations: 34.97 kB / 1.126 GB, free: 26.58 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/1.314, allocations: 0 / 1.126 GB, free: 26.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/1.34, allocations: 2.664 MB / 1.129 GB, free: 26.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/1.34, allocations: 196.1 kB / 1.129 GB, free: 26.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.85, allocations: 4 kB / 1.129 GB, free: 26.13 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)