Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009691/0.0009691, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001191/0.001191, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9033/0.9033, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.831/1.831, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.628e-05, allocations: 9.797 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002082/0.002109, allocations: 1.464 MB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003114, allocations: 0.7639 MB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.003152, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.003179, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.003232, allocations: 7.875 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.003635, allocations: 139.4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.003706, allocations: 31.92 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.003802, allocations: 4 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.003863, allocations: 19.97 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.003925, allocations: 15.98 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.003943, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.004223, allocations: 247.5 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.004241, allocations: 7.984 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.004264, allocations: 7.938 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.004517, allocations: 215.4 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004521, allocations: 0 / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.884e-06/0.004522, allocations: 4 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.004527, allocations: 0 / 1.004 GB, free: 10.57 MB / 0.9636 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.0004203/0.004948, allocations: 297.9 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.004994, allocations: 13.34 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.005028, allocations: 34.73 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.005291, allocations: 68.86 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.005373, allocations: 109.7 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.005395, allocations: 4.375 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.005405, allocations: 4.312 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.005586, allocations: 86.19 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.005594, allocations: 192 / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.005605, allocations: 8.062 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005609, allocations: 0 / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.005816, allocations: 87.91 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.006204, allocations: 264 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.006407, allocations: 98.44 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.006513, allocations: 52.81 kB / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.006527, allocations: 0 / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.006552, allocations: 38.55 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.006553, allocations: 0 / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0004067/0.006959, allocations: 169.6 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.006989, allocations: 51.41 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/0.007053, allocations: 110 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.007065, allocations: 25.7 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.007105, allocations: 80.14 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.007124, allocations: 7.891 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.007158, allocations: 25.73 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.007237, allocations: 314.8 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.007342, allocations: 43.95 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.00744, allocations: 52.02 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.007624, allocations: 88.83 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007626, allocations: 4 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002276/0.007854, allocations: 125.5 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.007868, allocations: 8 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.007873, allocations: 0 / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007885, allocations: 0 / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.007976, allocations: 27.94 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007982, allocations: 0 / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.008032, allocations: 19.97 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.008038, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 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 6.146e-05/0.008099, allocations: 116.5 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.008113, allocations: 3.938 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.008142, allocations: 3.312 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.008145, allocations: 4 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.00815, allocations: 4 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008153, allocations: 3.984 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.008539, allocations: 132.8 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008542, allocations: 7.875 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.008603, allocations: 19.97 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008605, allocations: 0 / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.008612, allocations: 4 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008613, allocations: 0 / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008614, allocations: 4 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.008869, allocations: 219.3 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-06/0.008877, allocations: 7.891 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.00889, allocations: 8 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.008953, allocations: 15.97 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.00899, allocations: 4 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.008994, allocations: 0 / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.009022, allocations: 87.27 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009022, allocations: 0 / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001677/0.00919, allocations: 23.97 kB / 1.006 GB, free: 7.383 MB / 0.9636 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.0005017/0.009691, allocations: 0.7475 MB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.009933, allocations: 99.86 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009935, allocations: 0 / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.01003, allocations: 47.95 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01029, allocations: 8.125 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.0108, allocations: 202.3 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.01084, allocations: 55.36 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.828e-05/0.01089, allocations: 11.98 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.01093, allocations: 12.5 kB / 1.008 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01093, allocations: 0 / 1.008 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/0.1333, allocations: 2.393 MB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/6.958, allocations: 7.875 kB / 1.01 GB, free: 3.863 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.InverseXRegularized_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.59498022031039]