Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 211.9 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002537/0.002537, allocations: 281.4 kB / 312.7 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.268/1.268, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002956/0.002956, allocations: 100.7 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2026, allocations: 95.38 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.00329/0.2059, allocations: 1.47 MB / 0.8341 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2075, allocations: 0.7541 MB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.2076, allocations: 0 / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.2076, allocations: 3.938 kB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.2076, allocations: 3.938 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.2082, allocations: 132.3 kB / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.2083, allocations: 31.92 kB / 0.835 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2084, allocations: 11.97 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.2085, allocations: 11.94 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.2086, allocations: 19.97 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2086, allocations: 0 / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.2091, allocations: 251.5 kB / 0.8353 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.2091, allocations: 7.938 kB / 0.8353 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.2091, allocations: 11.98 kB / 0.8353 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.2095, allocations: 183.8 kB / 0.8355 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2095, allocations: 7.938 kB / 0.8355 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2095, allocations: 0 / 0.8355 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2095, allocations: 0 / 0.8355 GB, free: 5.414 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006108/0.2101, allocations: 305.8 kB / 0.8358 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2102, allocations: 17.88 kB / 0.8358 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.2102, allocations: 30.75 kB / 0.8358 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/0.2107, allocations: 80.78 kB / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2108, allocations: 102.5 kB / 0.836 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.2109, allocations: 4.375 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2109, allocations: 384 / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.2112, allocations: 89.75 kB / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2112, allocations: 0 / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2113, allocations: 0 / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.2113, allocations: 0 / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.2117, allocations: 91.84 kB / 0.8362 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.2123, allocations: 263.9 kB / 0.8364 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.2127, allocations: 94.5 kB / 0.8365 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.2129, allocations: 52.86 kB / 0.8366 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2129, allocations: 0 / 0.8366 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.2129, allocations: 34.56 kB / 0.8366 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2129, allocations: 4 kB / 0.8366 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0007575/0.2137, allocations: 169.5 kB / 0.8367 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2137, allocations: 51.41 kB / 0.8368 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.2138, allocations: 101.9 kB / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2139, allocations: 25.7 kB / 0.8369 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.2139, allocations: 84.12 kB / 0.837 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.214, allocations: 4.078 kB / 0.837 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.214, allocations: 21.72 kB / 0.837 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2142, allocations: 314.8 kB / 0.8373 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2144, allocations: 43.95 kB / 0.8374 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.2146, allocations: 51.94 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.215, allocations: 96.77 kB / 0.8375 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.215, allocations: 0 / 0.8375 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004654/0.2155, allocations: 117.5 kB / 0.8376 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2155, allocations: 8 kB / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2155, allocations: 0 / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2156, allocations: 3.984 kB / 0.8376 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.2157, allocations: 20.02 kB / 0.8377 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2157, allocations: 0 / 0.8377 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2159, allocations: 23.91 kB / 0.8377 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.2159, allocations: 0 / 0.8377 GB, free: 2.961 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 (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 0.0001044/0.216, allocations: 118.4 kB / 0.8378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.216, allocations: 3.953 kB / 0.8378 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.216, allocations: 7.297 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.216, allocations: 8 kB / 0.8378 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2161, allocations: 256 / 0.8378 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2161, allocations: 3.938 kB / 0.8378 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2163, allocations: 140.7 kB / 0.8379 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2163, allocations: 0 / 0.8379 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.2164, allocations: 23.91 kB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.2164, allocations: 4 kB / 0.838 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2164, allocations: 0 / 0.838 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2164, allocations: 0 / 0.838 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2164, allocations: 4 kB / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.217, allocations: 219.4 kB / 0.8382 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.217, allocations: 4 kB / 0.8382 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.217, allocations: 0 / 0.8382 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.2172, allocations: 15.97 kB / 0.8382 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.2172, allocations: 4 kB / 0.8382 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2172, allocations: 0 / 0.8382 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.2173, allocations: 87.27 kB / 0.8383 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2173, allocations: 4.031 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002549/0.2175, allocations: 12 kB / 0.8383 GB, free: 2.242 MB / 0.5762 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.00103/0.2186, allocations: 0.7669 MB / 0.8391 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.219, allocations: 99.92 kB / 0.8391 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.219, allocations: 0 / 0.8391 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.2193, allocations: 47.95 kB / 0.8392 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.2196, allocations: 15.98 kB / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.2204, allocations: 195.1 kB / 0.8394 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.2205, allocations: 59.34 kB / 0.8395 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.2205, allocations: 8 kB / 0.8395 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.2206, allocations: 11.44 kB / 0.8395 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.2206, allocations: 0 / 0.8395 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.2523, allocations: 2.271 MB / 0.8417 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.27, allocations: 11.22 kB / 0.8417 GB, free: 14.82 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.548117393627763] Failed to read output from testmodel.py, exit status != 0: 11.374748258851469 11.393118271 11.180257215 Calling exit ...