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.000707/0.0007071, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004083/0.004083, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 222.4 MB, free: 5.566 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 1.695/1.695, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005674/0.0005676, allocations: 21.5 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2801, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009144/0.2811, allocations: 383.4 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2829, allocations: 1.484 MB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.283, allocations: 0 / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.283, allocations: 4 kB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.2831, allocations: 7.984 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.2834, allocations: 91.7 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.466e-05/0.2835, allocations: 23.92 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.2835, allocations: 4 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.2836, allocations: 19.92 kB / 0.79 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.2837, allocations: 19.84 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2837, allocations: 4 kB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.2842, allocations: 315.4 kB / 0.7903 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.2842, allocations: 11.92 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.2842, allocations: 37.62 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.2845, allocations: 187.8 kB / 0.7905 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2845, allocations: 0 / 0.7905 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2846, allocations: 4 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2846, allocations: 0 / 0.7905 GB, free: 8.883 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.0005115/0.2851, allocations: 371.4 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2851, allocations: 8.031 kB / 0.7909 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.2852, allocations: 34.73 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.2856, allocations: 80.77 kB / 0.791 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2857, allocations: 164.4 kB / 0.7911 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2858, allocations: 384 / 0.7911 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.2858, allocations: 8.375 kB / 0.7912 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.2861, allocations: 89.64 kB / 0.7912 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2861, allocations: 3.906 kB / 0.7912 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2861, allocations: 0 / 0.7912 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2861, allocations: 8 kB / 0.7913 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.2865, allocations: 83.91 kB / 0.7913 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.2867, allocations: 165.7 kB / 0.7915 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.2872, allocations: 146.5 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.2874, allocations: 48.95 kB / 0.7917 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2874, allocations: 0 / 0.7917 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2875, allocations: 46.42 kB / 0.7917 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.2875, allocations: 0 / 0.7917 GB, free: 7.48 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.004176/0.2917, allocations: 0.9497 MB / 0.7926 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2917, allocations: 59.34 kB / 0.7927 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2918, allocations: 113.8 kB / 0.7928 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2919, allocations: 33.64 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.2919, allocations: 84.14 kB / 0.7929 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.292, allocations: 31.55 kB / 0.793 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.292, allocations: 17.72 kB / 0.793 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2922, allocations: 318.8 kB / 0.7933 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.2926, allocations: 115.9 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.2931, allocations: 119.9 kB / 0.7935 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.2939, allocations: 229 kB / 0.7937 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2939, allocations: 3.938 kB / 0.7937 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009266/0.2949, allocations: 293.3 kB / 0.794 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2949, allocations: 4 kB / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2949, allocations: 0 / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2949, allocations: 3.984 kB / 0.794 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.2953, allocations: 71.88 kB / 0.7941 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2953, allocations: 0 / 0.7941 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.2955, allocations: 43.95 kB / 0.7941 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2955, allocations: 4 kB / 0.7941 GB, free: 4.953 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.2956, allocations: 117.8 kB / 0.7942 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.2957, allocations: 4 kB / 0.7942 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.2957, allocations: 24.34 kB / 0.7943 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2957, allocations: 0 / 0.7943 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2957, allocations: 0 / 0.7943 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2957, allocations: 0 / 0.7943 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.2975, allocations: 0.656 MB / 0.7949 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2975, allocations: 8.031 kB / 0.7949 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.2977, allocations: 67.88 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2978, allocations: 0 / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2978, allocations: 4 kB / 0.795 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2978, allocations: 0.75 kB / 0.795 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2978, allocations: 3.938 kB / 0.795 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.2988, allocations: 385.3 kB / 0.7954 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.2988, allocations: 85.03 kB / 0.7954 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.2989, allocations: 8 kB / 0.7954 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.2991, allocations: 47.95 kB / 0.7955 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2992, allocations: 15.92 kB / 0.7955 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2992, allocations: 4 kB / 0.7955 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.2993, allocations: 95.25 kB / 0.7956 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2993, allocations: 4 kB / 0.7956 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003012/0.2996, allocations: 36 kB / 0.7956 GB, free: 3.293 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 (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.001379/0.301, allocations: 0.9482 MB / 0.7966 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009235/0.3019, allocations: 243.8 kB / 0.7968 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3019, allocations: 4 kB / 0.7968 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.3024, allocations: 124 kB / 0.7969 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3026, allocations: 19.31 kB / 0.7969 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.3073, allocations: 2.306 MB / 0.7992 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3075, allocations: 0.6896 MB / 0.7999 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.3077, allocations: 16.67 kB / 0.7999 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.3078, allocations: 35.41 kB / 0.7999 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.3078, allocations: 0 / 0.7999 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.32, allocations: 2.474 MB / 0.8023 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.3202, allocations: 217.7 kB / 0.8025 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.973, allocations: 0 / 0.8025 GB, free: 12.19 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/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)