Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.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.0007198/0.0007198, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0007277/0.0007277, allocations: 216 kB / 22.25 MB, free: 3.73 MB / 13.93 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.8663/0.8663, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03582/0.03582, allocations: 12.19 MB / 324.6 MB, free: 6.105 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004128/0.0004128, allocations: 19.98 kB / 384.1 MB, free: 10.54 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.497/1.497, allocations: 353.8 MB / 0.7787 GB, free: 4.629 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.00134/0.00134, allocations: 123 kB / 1.06 GB, free: 24.76 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.182, allocations: 134.9 MB / 1.192 GB, free: 7.535 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001367/0.1834, allocations: 0.6836 MB / 1.192 GB, free: 6.855 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.1842, allocations: 0.8669 MB / 1.193 GB, free: 5.977 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.1842, allocations: 0 / 1.193 GB, free: 5.977 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.1842, allocations: 3.938 kB / 1.193 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.1843, allocations: 3.938 kB / 1.193 GB, free: 5.969 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.1844, allocations: 27.95 kB / 1.193 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.1845, allocations: 39.92 kB / 1.193 GB, free: 5.902 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.1846, allocations: 15.98 kB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.1847, allocations: 19.92 kB / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1847, allocations: 27.84 kB / 1.193 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1847, allocations: 4 kB / 1.193 GB, free: 5.836 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.1847, allocations: 4 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.1848, allocations: 19.92 kB / 1.193 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1848, allocations: 11.94 kB / 1.193 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.585e-05/0.1849, allocations: 56.06 kB / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1849, allocations: 0 / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1849, allocations: 3.938 kB / 1.193 GB, free: 5.742 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1849, allocations: 0 / 1.193 GB, free: 5.742 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003469/0.1852, allocations: 274.3 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1853, allocations: 12.03 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.1853, allocations: 34.75 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1853, allocations: 4.938 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.1854, allocations: 110.5 kB / 1.194 GB, free: 5.254 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1854, allocations: 4.359 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1854, allocations: 8.125 kB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1856, allocations: 69.59 kB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1856, allocations: 4 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1856, allocations: 0 / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1856, allocations: 4 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1857, allocations: 47.95 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.186, allocations: 259.8 kB / 1.194 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1861, allocations: 66.42 kB / 1.194 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.1862, allocations: 32.91 kB / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.1862, allocations: 8 kB / 1.194 GB, free: 4.699 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.1862, allocations: 30.56 kB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1862, allocations: 0 / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002524/0.1865, allocations: 109.8 kB / 1.194 GB, free: 4.547 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.1865, allocations: 51.41 kB / 1.194 GB, free: 4.484 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.1865, allocations: 105.8 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.1865, allocations: 29.7 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.1866, allocations: 88.09 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.1866, allocations: 11.94 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.1866, allocations: 21.72 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.1867, allocations: 318.8 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.1867, allocations: 19.98 kB / 1.195 GB, free: 3.867 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.1868, allocations: 31.95 kB / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.765e-05/0.1869, allocations: 52.81 kB / 1.195 GB, free: 3.781 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1869, allocations: 0 / 1.195 GB, free: 3.781 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.187, allocations: 89.59 kB / 1.195 GB, free: 3.688 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.187, allocations: 4 kB / 1.195 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.187, allocations: 4 kB / 1.195 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.187, allocations: 3.984 kB / 1.195 GB, free: 3.676 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.1871, allocations: 11.98 kB / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1871, allocations: 256 / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.1872, allocations: 7.953 kB / 1.195 GB, free: 3.656 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1872, allocations: 7.938 kB / 1.195 GB, free: 3.648 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.285e-05/0.1872, allocations: 121.8 kB / 1.195 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.1872, allocations: 4 kB / 1.195 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.1873, allocations: 11.94 kB / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1873, allocations: 0 / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1873, allocations: 0 / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1873, allocations: 0 / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1874, allocations: 140.7 kB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1874, allocations: 0 / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.1874, allocations: 19.91 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1874, allocations: 0 / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1874, allocations: 0 / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1874, allocations: 8 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1874, allocations: 0 / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.1876, allocations: 187.3 kB / 1.196 GB, free: 3.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.1876, allocations: 7.938 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.1876, allocations: 4 kB / 1.196 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.1877, allocations: 7.984 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1877, allocations: 11.98 kB / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1877, allocations: 0 / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.735e-05/0.1877, allocations: 87.22 kB / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1877, allocations: 0 / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001468/0.1879, allocations: 12 kB / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005833/0.1885, allocations: 0.7124 MB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.1886, allocations: 56.19 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1886, allocations: 0 / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.1887, allocations: 40 kB / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.1889, allocations: 4 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.1898, allocations: 1.317 MB / 1.198 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.1899, allocations: 71.44 kB / 1.198 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.1899, allocations: 7.922 kB / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.1899, allocations: 15.44 kB / 1.198 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of SimCode: time 5.71e-07/0.1899, allocations: 0 / 1.198 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.2033, allocations: 2.41 MB / 1.2 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.113/6.316, allocations: 4.562 kB / 1.2 GB, free: 14.34 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Abs.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.22847955301404] Failed to read output from testmodel.py, exit status != 0: 6.390075033530593 6.400777681 6.214008841 Calling exit ...