Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.13/1.13, allocations: 175.8 MB / 478.4 MB, free: 8.473 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.66 kB / 0.6653 GB, free: 492 kB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1944, allocations: 94.53 MB / 0.7576 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001801/0.1962, allocations: 0.638 MB / 0.7582 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4105/0.6068, allocations: 1.447 MB / 0.7596 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.6068, allocations: 0 / 0.7596 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.6068, allocations: 3.375 kB / 0.7596 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.345e-05/0.6069, allocations: 3.719 kB / 0.7596 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.6075, allocations: 130.9 kB / 0.7597 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.6075, allocations: 29.52 kB / 0.7598 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.6076, allocations: 5.234 kB / 0.7598 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.6077, allocations: 12.19 kB / 0.7598 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.6077, allocations: 18.77 kB / 0.7598 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.6077, allocations: 3.469 kB / 0.7598 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.6084, allocations: 323.1 kB / 0.7601 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.6084, allocations: 9.234 kB / 0.7601 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.6084, allocations: 11.41 kB / 0.7601 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.6088, allocations: 194.8 kB / 0.7603 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6088, allocations: 1.031 kB / 0.7603 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6088, allocations: 2.062 kB / 0.7603 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6088, allocations: 0.6094 kB / 0.7603 GB, free: 7.523 MB / 0.5762 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.0005458/0.6094, allocations: 383.1 kB / 0.7607 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6094, allocations: 9.531 kB / 0.7607 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.6094, allocations: 34.88 kB / 0.7607 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.6098, allocations: 58.11 kB / 0.7608 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.61, allocations: 174.8 kB / 0.761 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.61, allocations: 2.5 kB / 0.761 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.61, allocations: 3.812 kB / 0.761 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.6103, allocations: 80.69 kB / 0.761 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6103, allocations: 1 kB / 0.761 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6103, allocations: 0 / 0.761 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.6103, allocations: 1.75 kB / 0.761 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.6107, allocations: 72.89 kB / 0.7611 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.6109, allocations: 173.6 kB / 0.7613 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.6115, allocations: 124.5 kB / 0.7614 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.6117, allocations: 42.16 kB / 0.7614 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.6117, allocations: 0.875 kB / 0.7614 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6117, allocations: 35.56 kB / 0.7615 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.6117, allocations: 5.109 kB / 0.7615 GB, free: 6.59 MB / 0.5762 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.004404/0.6161, allocations: 0.795 MB / 0.7622 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.6162, allocations: 53.25 kB / 0.7623 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6163, allocations: 112.9 kB / 0.7624 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.6163, allocations: 30.05 kB / 0.7624 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.6163, allocations: 89.25 kB / 0.7625 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.6163, allocations: 29.45 kB / 0.7625 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.6164, allocations: 31.48 kB / 0.7626 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.6165, allocations: 316.2 kB / 0.7629 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.6169, allocations: 97.36 kB / 0.763 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.6173, allocations: 97.75 kB / 0.7631 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.6181, allocations: 194.8 kB / 0.7633 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6181, allocations: 0 / 0.7633 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008799/0.619, allocations: 247 kB / 0.7635 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.619, allocations: 5.875 kB / 0.7635 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.619, allocations: 1.031 kB / 0.7635 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6191, allocations: 5.688 kB / 0.7635 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.6194, allocations: 55.28 kB / 0.7636 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6194, allocations: 0 / 0.7636 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.6196, allocations: 39.77 kB / 0.7636 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6196, allocations: 6.75 kB / 0.7636 GB, free: 5.785 MB / 0.5762 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 7.294e-05/0.6197, allocations: 118.4 kB / 0.7637 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.6197, allocations: 2.156 kB / 0.7637 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.6198, allocations: 18 kB / 0.7637 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6198, allocations: 0.9688 kB / 0.7637 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6198, allocations: 0.8125 kB / 0.7637 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6198, allocations: 2.656 kB / 0.7637 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.6214, allocations: 0.5975 MB / 0.7643 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6214, allocations: 1.375 kB / 0.7643 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.6217, allocations: 56.12 kB / 0.7644 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6217, allocations: 0 / 0.7644 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.6217, allocations: 10.22 kB / 0.7644 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6217, allocations: 1.094 kB / 0.7644 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6217, allocations: 1.375 kB / 0.7644 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.6225, allocations: 346.8 kB / 0.7647 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.6225, allocations: 85.19 kB / 0.7648 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.6226, allocations: 3.125 kB / 0.7648 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.6228, allocations: 34.8 kB / 0.7648 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.6229, allocations: 23.5 kB / 0.7649 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6229, allocations: 7.156 kB / 0.7649 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.6229, allocations: 91.77 kB / 0.7649 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6229, allocations: 1.375 kB / 0.7649 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003175/0.6232, allocations: 37.5 kB / 0.765 GB, free: 4.961 MB / 0.5762 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.001125/0.6243, allocations: 0.8974 MB / 0.7659 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008703/0.6252, allocations: 210.9 kB / 0.7661 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6252, allocations: 2.625 kB / 0.7661 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.6256, allocations: 104.9 kB / 0.7662 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.6259, allocations: 11.14 kB / 0.7662 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.6306, allocations: 2.131 MB / 0.7683 GB, free: 19.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.6309, allocations: 0.6905 MB / 0.7689 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.631, allocations: 21.72 kB / 0.769 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.6311, allocations: 24.64 kB / 0.769 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/0.6311, allocations: 1.219 kB / 0.769 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.658, allocations: 2.752 MB / 0.7717 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.613, allocations: 6.75 kB / 0.7717 GB, free: 17.89 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.515216178260744] Failed to read output from testmodel.py, exit status != 0: 8.680334624368697 8.694806757 8.082334728 Calling exit ...