Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.00159/0.00159, allocations: 117.2 kB / 17.13 MB, free: 5.918 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.001586/0.001586, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.451/1.451, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8608/0.8608, allocations: 129.2 MB / 432.5 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 71.83 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4078, allocations: 83.44 MB / 0.6802 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002625/0.4105, allocations: 1.447 MB / 0.6816 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4116, allocations: 0.7955 MB / 0.6824 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.4116, allocations: 3.938 kB / 0.6824 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.4116, allocations: 1.094 kB / 0.6824 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.4117, allocations: 3.938 kB / 0.6824 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.4121, allocations: 134.6 kB / 0.6825 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.4121, allocations: 25.73 kB / 0.6825 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.4122, allocations: 6.344 kB / 0.6825 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.4123, allocations: 14.92 kB / 0.6826 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.4123, allocations: 26.67 kB / 0.6826 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.4123, allocations: 2.312 kB / 0.6826 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.4127, allocations: 322.5 kB / 0.6829 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.4127, allocations: 4 kB / 0.6829 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.4127, allocations: 19.41 kB / 0.6829 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.413, allocations: 190.3 kB / 0.6831 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.413, allocations: 5.062 kB / 0.6831 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.413, allocations: 0 / 0.6831 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.413, allocations: 0 / 0.6831 GB, free: 3.785 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004292/0.4135, allocations: 375.4 kB / 0.6835 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4135, allocations: 9.625 kB / 0.6835 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.4135, allocations: 36.09 kB / 0.6835 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004269/0.4139, allocations: 67.22 kB / 0.6836 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.947e-05/0.414, allocations: 177.6 kB / 0.6837 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.414, allocations: 5.641 kB / 0.6837 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.4141, allocations: 1.781 kB / 0.6837 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.4143, allocations: 93.53 kB / 0.6838 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4143, allocations: 4 kB / 0.6838 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.4143, allocations: 1.281 kB / 0.6838 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4143, allocations: 0 / 0.6838 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.4147, allocations: 92.06 kB / 0.6839 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.4151, allocations: 292.7 kB / 0.6842 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.4155, allocations: 91.22 kB / 0.6843 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.4156, allocations: 54.81 kB / 0.6843 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4157, allocations: 4.875 kB / 0.6843 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4157, allocations: 31.75 kB / 0.6844 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4157, allocations: 0 / 0.6844 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006545/0.4163, allocations: 165.4 kB / 0.6845 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.4164, allocations: 56.47 kB / 0.6846 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.4164, allocations: 99.56 kB / 0.6847 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.4164, allocations: 25.7 kB / 0.6847 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.153e-05/0.4164, allocations: 86.45 kB / 0.6848 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.4165, allocations: 7.984 kB / 0.6848 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.4165, allocations: 17.09 kB / 0.6848 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.4165, allocations: 319.8 kB / 0.6851 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.4167, allocations: 41.86 kB / 0.6852 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.4169, allocations: 49.61 kB / 0.6852 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.4172, allocations: 89.11 kB / 0.6853 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4172, allocations: 0 / 0.6853 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003864/0.4176, allocations: 128.6 kB / 0.6854 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4176, allocations: 6.125 kB / 0.6854 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4176, allocations: 0 / 0.6854 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4177, allocations: 9.219 kB / 0.6854 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4178, allocations: 21.28 kB / 0.6854 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4178, allocations: 0 / 0.6854 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4179, allocations: 14.27 kB / 0.6855 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.4179, allocations: 10.06 kB / 0.6855 GB, free: 1.645 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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 4.509e-05/0.418, allocations: 120.1 kB / 0.6856 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.418, allocations: 9.375 kB / 0.6856 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.418, allocations: 4.375 kB / 0.6856 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.418, allocations: 0 / 0.6856 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.418, allocations: 1.062 kB / 0.6856 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.418, allocations: 0 / 0.6856 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4181, allocations: 173.5 kB / 0.6858 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4182, allocations: 1.156 kB / 0.6858 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.4183, allocations: 24.66 kB / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4183, allocations: 1.406 kB / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4183, allocations: 0 / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4183, allocations: 5.062 kB / 0.6858 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4183, allocations: 0 / 0.6858 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.4187, allocations: 227.7 kB / 0.686 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.4187, allocations: 78.36 kB / 0.6861 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4187, allocations: 0 / 0.6861 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4189, allocations: 22.41 kB / 0.6861 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.4189, allocations: 5.25 kB / 0.6861 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.4189, allocations: 1.25 kB / 0.6861 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.192e-05/0.4189, allocations: 87.64 kB / 0.6862 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4189, allocations: 0 / 0.6862 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002373/0.4192, allocations: 15.56 kB / 0.6862 GB, free: 0.9062 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005957/0.4198, allocations: 0.7556 MB / 0.687 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.4202, allocations: 102.2 kB / 0.687 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.4202, allocations: 0 / 0.687 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.4204, allocations: 48.52 kB / 0.6871 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.4207, allocations: 6.875 kB / 0.6871 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.4213, allocations: 197.9 kB / 0.6873 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4216, allocations: 0.682 MB / 0.688 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.943e-05/0.4217, allocations: 11.89 kB / 0.688 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.4218, allocations: 8.781 kB / 0.688 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4218, allocations: 0 / 0.688 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.4463, allocations: 1.699 MB / 0.6896 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.629, allocations: 3.062 kB / 0.6896 GB, free: 14.28 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.002593786921352] Failed to read output from testmodel.py, exit status != 0: 8.706783610861748 8.721697938 8.305517264 Calling exit ...