Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.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.001196/0.001196, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001044/0.001044, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9699/0.9699, allocations: 230.6 MB / 256 MB, free: 9.824 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.04883/0.04883, allocations: 12.18 MB / 324.6 MB, free: 6.289 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.000843/0.000843, allocations: 39.92 kB / 384.1 MB, free: 10.68 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.721/1.721, allocations: 353.8 MB / 0.7787 GB, free: 3.105 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.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract",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.001505/0.001505, allocations: 124.1 kB / 1.06 GB, free: 25.03 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2172, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001618/0.2188, allocations: 0.7731 MB / 1.193 GB, free: 7.102 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.2197, allocations: 0.8938 MB / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.2197, allocations: 0 / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.2198, allocations: 7.938 kB / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2199, allocations: 19.86 kB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.22, allocations: 39.89 kB / 1.193 GB, free: 6.129 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.2201, allocations: 79.83 kB / 1.194 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2203, allocations: 23.98 kB / 1.194 GB, free: 6.027 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.2203, allocations: 39.83 kB / 1.194 GB, free: 5.988 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.2204, allocations: 55.77 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.2204, allocations: 8 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.2204, allocations: 8 kB / 1.194 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.2205, allocations: 19.91 kB / 1.194 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2205, allocations: 35.86 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2206, allocations: 91.88 kB / 1.194 GB, free: 5.773 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2206, allocations: 3.938 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2206, allocations: 0 / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2206, allocations: 0 / 1.194 GB, free: 5.77 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00045/0.2211, allocations: 318 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2211, allocations: 12.03 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.2212, allocations: 34.75 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.2212, allocations: 12.89 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2213, allocations: 118.4 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2213, allocations: 4.375 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.2213, allocations: 8.125 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2215, allocations: 105.6 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2216, allocations: 0 / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2216, allocations: 0 / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2216, allocations: 8 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.2218, allocations: 95.91 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.2222, allocations: 319.7 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.2226, allocations: 114.6 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.2227, allocations: 64.73 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2227, allocations: 0 / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2227, allocations: 34.5 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2227, allocations: 4 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.000393/0.2231, allocations: 181.5 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.2231, allocations: 51.41 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.2232, allocations: 125.8 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2232, allocations: 29.7 kB / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.2233, allocations: 96.08 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.2233, allocations: 23.8 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.2233, allocations: 29.7 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.2234, allocations: 310.8 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.2235, allocations: 47.89 kB / 1.196 GB, free: 3.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.703e-05/0.2236, allocations: 47.95 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2238, allocations: 96.77 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2238, allocations: 0 / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000216/0.224, allocations: 141.5 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.224, allocations: 4 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.224, allocations: 8 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.224, allocations: 0 / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.2241, allocations: 27.91 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2241, allocations: 3.938 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.2242, allocations: 15.98 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2242, allocations: 0 / 1.196 GB, free: 3.133 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.579e-05/0.2242, allocations: 113.8 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2243, allocations: 19.88 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.2243, allocations: 8.375 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2243, allocations: 0 / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2243, allocations: 7.938 kB / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2243, allocations: 0 / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.2244, allocations: 164.7 kB / 1.196 GB, free: 2.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2244, allocations: 3.938 kB / 1.196 GB, free: 2.766 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.2245, allocations: 23.97 kB / 1.197 GB, free: 2.742 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2245, allocations: 4 kB / 1.197 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.2245, allocations: 0 / 1.197 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2245, allocations: 4 kB / 1.197 GB, free: 2.734 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2245, allocations: 3.938 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.2248, allocations: 239.3 kB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.2248, allocations: 15.88 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2248, allocations: 0 / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.2249, allocations: 27.97 kB / 1.197 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.225, allocations: 23.91 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.225, allocations: 4 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.225, allocations: 91.27 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.225, allocations: 0 / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001736/0.2252, allocations: 12 kB / 1.197 GB, free: 2.309 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004927/0.2257, allocations: 0.7676 MB / 1.198 GB, free: 1.516 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.2259, allocations: 112 kB / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2259, allocations: 0 / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.2261, allocations: 59.89 kB / 1.198 GB, free: 1.348 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2263, allocations: 13.66 kB / 1.198 GB, free: 1.336 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2277, allocations: 1.541 MB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2279, allocations: 0.6924 MB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.053e-05/0.228, allocations: 11.75 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.228, allocations: 35.41 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of SimCode: time 9.62e-07/0.228, allocations: 0 / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.244, allocations: 2.86 MB / 1.203 GB, free: 12.23 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/6.836, allocations: 2.031 kB / 1.203 GB, free: 12.23 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract_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_Subtract.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.51124229002744] Failed to read output from testmodel.py, exit status != 0: 6.913806889206171 6.924276485 6.701885656 Calling exit ...