Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 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.001099/0.001099, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7548/0.7548, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.98 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3887, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001732/0.3904, allocations: 0.6237 MB / 0.5808 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.392, allocations: 1.462 MB / 0.5822 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.392, allocations: 1.156 kB / 0.5822 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.392, allocations: 3.938 kB / 0.5822 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.3921, allocations: 2.062 kB / 0.5822 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.3925, allocations: 125 kB / 0.5824 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.3926, allocations: 30.08 kB / 0.5824 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.3926, allocations: 7.094 kB / 0.5824 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.3927, allocations: 11.55 kB / 0.5824 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.3927, allocations: 24.75 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.3928, allocations: 1.625 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.3932, allocations: 314.2 kB / 0.5827 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3933, allocations: 8.141 kB / 0.5827 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.3933, allocations: 23.62 kB / 0.5828 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3936, allocations: 186.5 kB / 0.5829 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3936, allocations: 0 / 0.5829 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3936, allocations: 0 / 0.5829 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3936, allocations: 0 / 0.5829 GB, free: 2.871 MB / 430.1 MB 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.0004148/0.394, allocations: 377.8 kB / 0.5833 GB, free: 2.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3941, allocations: 9.781 kB / 0.5833 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.341e-05/0.3941, allocations: 41.09 kB / 0.5834 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.3945, allocations: 54.61 kB / 0.5834 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/0.3946, allocations: 179.2 kB / 0.5836 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3946, allocations: 6.25 kB / 0.5836 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3946, allocations: 2.438 kB / 0.5836 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.3949, allocations: 79.97 kB / 0.5837 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3949, allocations: 0 / 0.5837 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3949, allocations: 2 kB / 0.5837 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3949, allocations: 0 / 0.5837 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.3953, allocations: 71.5 kB / 0.5837 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.3954, allocations: 169.5 kB / 0.5839 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.396, allocations: 121.5 kB / 0.584 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3962, allocations: 48.81 kB / 0.5841 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3962, allocations: 0.6562 kB / 0.5841 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.3963, allocations: 43.47 kB / 0.5841 GB, free: 1.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3963, allocations: 0 / 0.5841 GB, free: 1.867 MB / 430.1 MB 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.004202/0.4005, allocations: 0.7843 MB / 0.5849 GB, free: 1.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.4005, allocations: 53.69 kB / 0.5849 GB, free: 1.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.4006, allocations: 114.3 kB / 0.585 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.4006, allocations: 25.7 kB / 0.585 GB, free: 1.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.893e-05/0.4006, allocations: 93.84 kB / 0.5851 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.4007, allocations: 30.81 kB / 0.5852 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.4007, allocations: 24.64 kB / 0.5852 GB, free: 1.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.4008, allocations: 319 kB / 0.5855 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.4012, allocations: 100 kB / 0.5856 GB, free: 1.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.4017, allocations: 94.73 kB / 0.5857 GB, free: 1.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.4026, allocations: 190.8 kB / 0.5859 GB, free: 1.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4026, allocations: 3.938 kB / 0.5859 GB, free: 1.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000957/0.4035, allocations: 244.4 kB / 0.5861 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4036, allocations: 4.906 kB / 0.5861 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4036, allocations: 1.703 kB / 0.5861 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4036, allocations: 0.7812 kB / 0.5861 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.4039, allocations: 62.64 kB / 0.5862 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.404, allocations: 1 kB / 0.5862 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.4042, allocations: 33.75 kB / 0.5862 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4042, allocations: 11.58 kB / 0.5862 GB, free: 0.9258 MB / 430.1 MB 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 5.802e-05/0.4043, allocations: 116.9 kB / 0.5863 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.4043, allocations: 6.938 kB / 0.5863 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.4043, allocations: 14.94 kB / 0.5863 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4044, allocations: 1.438 kB / 0.5863 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4044, allocations: 1.438 kB / 0.5863 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.4044, allocations: 0.7969 kB / 0.5863 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.4061, allocations: 0.5956 MB / 0.5869 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4061, allocations: 1.094 kB / 0.5869 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.4064, allocations: 61.52 kB / 0.587 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4064, allocations: 6.359 kB / 0.587 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.4064, allocations: 4.109 kB / 0.587 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4064, allocations: 1.594 kB / 0.587 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4064, allocations: 5.75 kB / 0.587 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.4074, allocations: 338.6 kB / 0.5873 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.4074, allocations: 84.7 kB / 0.5874 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.4075, allocations: 2.109 kB / 0.5874 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.4077, allocations: 36.7 kB / 0.5874 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.4078, allocations: 17.02 kB / 0.5875 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.4078, allocations: 9.25 kB / 0.5875 GB, free: 104 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.4078, allocations: 90.56 kB / 0.5876 GB, free: 24 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4079, allocations: 4 kB / 0.5876 GB, free: 20 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.4082, allocations: 41.97 kB / 0.5876 GB, free: 8 kB / 430.1 MB 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.001442/0.4096, allocations: 0.8992 MB / 0.5885 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4106, allocations: 206.6 kB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4106, allocations: 1.312 kB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.4111, allocations: 107.9 kB / 0.5888 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.4114, allocations: 19.78 kB / 0.5888 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.4163, allocations: 2.123 MB / 0.5909 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.4165, allocations: 0.685 MB / 0.5915 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.4166, allocations: 22.36 kB / 0.5916 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.4167, allocations: 28.64 kB / 0.5916 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.724e-06/0.4167, allocations: 3.938 kB / 0.5916 GB, free: 13.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.4364, allocations: 2.691 MB / 0.5942 GB, free: 12.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.606, allocations: 7.609 kB / 0.5942 GB, free: 12.18 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)