Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0008674/0.0008674, 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.0008465/0.0008465, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.968/0.968, allocations: 230.6 MB / 256 MB, free: 9.82 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.03716/0.03716, allocations: 12.19 MB / 324.6 MB, free: 6.273 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.000409/0.000409, allocations: 31.94 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.673/1.673, allocations: 353.8 MB / 0.7787 GB, free: 3.121 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.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.001491/0.001491, allocations: 117.3 kB / 1.06 GB, free: 25.04 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2266, allocations: 134.9 MB / 1.192 GB, free: 7.902 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001241/0.2278, allocations: 0.5297 MB / 1.192 GB, free: 7.375 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 4.036e-05/0.2279, allocations: 7.938 kB / 1.192 GB, free: 7.367 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.2279, allocations: 4 kB / 1.192 GB, free: 7.363 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.92e-05/0.228, allocations: 0 / 1.192 GB, free: 7.363 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.228, allocations: 0 / 1.192 GB, free: 7.363 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.314e-05/0.228, allocations: 3.984 kB / 1.192 GB, free: 7.359 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.563e-05/0.2281, allocations: 0 / 1.192 GB, free: 7.359 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.2281, allocations: 4 kB / 1.192 GB, free: 7.355 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.2282, allocations: 7.922 kB / 1.192 GB, free: 7.348 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.016e-05/0.2282, allocations: 4 kB / 1.192 GB, free: 7.344 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2282, allocations: 0 / 1.192 GB, free: 7.344 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-06/0.2282, allocations: 0 / 1.192 GB, free: 7.344 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.2282, allocations: 0 / 1.192 GB, free: 7.344 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.2282, allocations: 0 / 1.192 GB, free: 7.344 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.388e-05/0.2283, allocations: 8 kB / 1.192 GB, free: 7.336 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2283, allocations: 0 / 1.192 GB, free: 7.336 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2283, allocations: 0 / 1.192 GB, free: 7.336 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2283, allocations: 0 / 1.192 GB, free: 7.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002565/0.2286, allocations: 238.7 kB / 1.193 GB, free: 7.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2286, allocations: 15.97 kB / 1.193 GB, free: 7.055 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.2286, allocations: 34.75 kB / 1.193 GB, free: 7.012 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.2287, allocations: 0.9375 kB / 1.193 GB, free: 7.012 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.2287, allocations: 114.5 kB / 1.193 GB, free: 6.875 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2287, allocations: 384 / 1.193 GB, free: 6.875 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.2288, allocations: 384 / 1.193 GB, free: 6.875 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.2288, allocations: 30.25 kB / 1.193 GB, free: 6.84 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2288, allocations: 7.938 kB / 1.193 GB, free: 6.832 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.2288, allocations: 0 / 1.193 GB, free: 6.832 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2288, allocations: 3.984 kB / 1.193 GB, free: 6.828 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.298e-05/0.2289, allocations: 4 kB / 1.193 GB, free: 6.824 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.2292, allocations: 350.5 kB / 1.193 GB, free: 6.438 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.2292, allocations: 173.1 kB / 1.193 GB, free: 6.258 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.2293, allocations: 80.58 kB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2293, allocations: 79.28 kB / 1.193 GB, free: 6.098 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.2293, allocations: 113.9 kB / 1.194 GB, free: 5.977 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2293, allocations: 0 / 1.194 GB, free: 5.977 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.393e-05/0.2294, allocations: 33.64 kB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2294, allocations: 126.7 kB / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.2295, allocations: 97.8 kB / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.2295, allocations: 29.83 kB / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.848e-05/0.2295, allocations: 80.14 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.2295, allocations: 0 / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.2295, allocations: 21.7 kB / 1.194 GB, free: 5.551 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.2296, allocations: 310.8 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.2296, allocations: 0 / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.2296, allocations: 0 / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.874e-05/0.2296, allocations: 75.28 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.2296, allocations: 83.22 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.277e-05/0.2297, allocations: 33.64 kB / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.2297, allocations: 79.28 kB / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.2297, allocations: 79.27 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.3e-05/0.2297, allocations: 154.6 kB / 1.195 GB, free: 4.734 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.766e-05/0.2298, allocations: 83.2 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.309e-05/0.2298, allocations: 154.6 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.2298, allocations: 84.64 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2299, allocations: 83.22 kB / 1.195 GB, free: 4.336 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.621e-05/0.2299, allocations: 261.4 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.23, allocations: 101 kB / 1.195 GB, free: 3.965 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.963e-05/0.2301, allocations: 112.1 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/0.2301, allocations: 188.3 kB / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.002e-05/0.2301, allocations: 180.2 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.919e-05/0.2302, allocations: 176.3 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2303, allocations: 376.2 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.2303, allocations: 108.9 kB / 1.196 GB, free: 2.762 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.2304, allocations: 105 kB / 1.197 GB, free: 2.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.91e-05/0.2304, allocations: 188.2 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.2304, allocations: 176.3 kB / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.966e-05/0.2305, allocations: 184.6 kB / 1.197 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.724e-05/0.2305, allocations: 180.2 kB / 1.197 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.13e-05/0.2306, allocations: 319.7 kB / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2308, allocations: 109 kB / 1.198 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.2308, allocations: 176.3 kB / 1.198 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.232e-05/0.2309, allocations: 108.9 kB / 1.198 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2309, allocations: 176.3 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.2309, allocations: 108.9 kB / 1.198 GB, free: 0.875 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.2309, allocations: 79.28 kB / 1.198 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2309, allocations: 0 / 1.198 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001737/0.2311, allocations: 3.984 kB / 1.198 GB, free: 0.793 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002963/0.2314, allocations: 0.8088 MB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 3.409e-05/0.2315, allocations: 3.938 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2315, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.2315, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2317, allocations: 466.9 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.2324, allocations: 1.532 MB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.2326, allocations: 0.6729 MB / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.953e-06/0.2326, allocations: 0 / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.2326, allocations: 7.438 kB / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of SimCode: time 3.71e-07/0.2326, allocations: 0 / 1.202 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.2473, allocations: 1.004 MB / 1.203 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.336/6.583, allocations: 8.328 kB / 1.203 GB, free: 12.29 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.923077716492116] Failed to read output from testmodel.py, exit status != 0: 6.657316309399903 6.668282873 6.43827762 Calling exit ...