Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.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.0008025/0.0008025, allocations: 101.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.0008546/0.0008546, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9461/0.9461, allocations: 230.6 MB / 256 MB, free: 9.594 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.03699/0.03699, allocations: 12.2 MB / 324.6 MB, free: 6.074 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.0004604/0.0004604, allocations: 27.95 kB / 384.1 MB, free: 10.5 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.684/1.684, allocations: 353.9 MB / 0.7787 GB, free: 4.555 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.Logical.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_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.00161/0.00161, allocations: 117.7 kB / 1.06 GB, free: 24.95 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2207, allocations: 134.9 MB / 1.192 GB, free: 7.539 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001372/0.2221, allocations: 0.5451 MB / 1.192 GB, free: 6.996 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 4.031e-05/0.2221, allocations: 4 kB / 1.192 GB, free: 6.992 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.2221, allocations: 0 / 1.192 GB, free: 6.992 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.2222, allocations: 0 / 1.192 GB, free: 6.992 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.831e-05/0.2222, allocations: 3.938 kB / 1.192 GB, free: 6.988 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 2.793e-05/0.2222, allocations: 0 / 1.192 GB, free: 6.988 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6e-05/0.2223, allocations: 4 kB / 1.192 GB, free: 6.984 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.2223, allocations: 0 / 1.192 GB, free: 6.984 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.2223, allocations: 4 kB / 1.192 GB, free: 6.98 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.2224, allocations: 3.938 kB / 1.192 GB, free: 6.977 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2224, allocations: 4 kB / 1.192 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.2224, allocations: 0 / 1.192 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.2224, allocations: 0 / 1.192 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.2224, allocations: 0 / 1.192 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.657e-05/0.2225, allocations: 7.984 kB / 1.192 GB, free: 6.965 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2225, allocations: 3.984 kB / 1.192 GB, free: 6.961 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2225, allocations: 0 / 1.192 GB, free: 6.961 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2225, allocations: 0 / 1.192 GB, free: 6.961 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.0002485/0.2227, allocations: 234.7 kB / 1.192 GB, free: 6.703 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2228, allocations: 16.03 kB / 1.192 GB, free: 6.688 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.2228, allocations: 30.75 kB / 1.193 GB, free: 6.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.2228, allocations: 4.938 kB / 1.193 GB, free: 6.645 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.2229, allocations: 102.5 kB / 1.193 GB, free: 6.52 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2229, allocations: 8.359 kB / 1.193 GB, free: 6.512 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.2229, allocations: 4.375 kB / 1.193 GB, free: 6.508 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.223, allocations: 33.95 kB / 1.193 GB, free: 6.469 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.223, allocations: 0 / 1.193 GB, free: 6.469 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.223, allocations: 3.938 kB / 1.193 GB, free: 6.465 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.223, allocations: 4 kB / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.2231, allocations: 4 kB / 1.193 GB, free: 6.457 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.2233, allocations: 354.5 kB / 1.193 GB, free: 6.066 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.35e-05/0.2234, allocations: 173 kB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.2234, allocations: 84.61 kB / 1.193 GB, free: 5.801 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2235, allocations: 75.28 kB / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.2235, allocations: 105.8 kB / 1.193 GB, free: 5.613 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.2235, allocations: 0 / 1.193 GB, free: 5.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.738e-05/0.2236, allocations: 37.7 kB / 1.193 GB, free: 5.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.2236, allocations: 126.7 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.2237, allocations: 97.89 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.2237, allocations: 29.73 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.2237, allocations: 84.12 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.2237, allocations: 0 / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.2237, allocations: 9.719 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.2238, allocations: 318.8 kB / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-06/0.2238, allocations: 0 / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.2238, allocations: 0 / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.2239, allocations: 79.22 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.2239, allocations: 75.28 kB / 1.194 GB, free: 4.719 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.289e-05/0.2239, allocations: 29.7 kB / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.2239, allocations: 81.16 kB / 1.194 GB, free: 4.605 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.224, allocations: 83.22 kB / 1.194 GB, free: 4.523 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.898e-05/0.224, allocations: 154.6 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.224, allocations: 79.27 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-05/0.2241, allocations: 154.5 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.2241, allocations: 84.75 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.2241, allocations: 79.22 kB / 1.195 GB, free: 3.98 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 8.495e-05/0.2242, allocations: 262.5 kB / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.2243, allocations: 105 kB / 1.195 GB, free: 3.605 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.2243, allocations: 112.1 kB / 1.195 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.345e-05/0.2243, allocations: 176.3 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-05/0.2244, allocations: 188.3 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.923e-05/0.2244, allocations: 184.2 kB / 1.196 GB, free: 2.93 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.2246, allocations: 376.2 kB / 1.196 GB, free: 2.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.2246, allocations: 108.9 kB / 1.196 GB, free: 2.398 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.2247, allocations: 109 kB / 1.197 GB, free: 2.285 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.172e-05/0.2247, allocations: 180.3 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.2248, allocations: 180.2 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.54e-05/0.2248, allocations: 180.6 kB / 1.197 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-05/0.2248, allocations: 188.2 kB / 1.197 GB, free: 1.543 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.563e-05/0.2249, allocations: 311.8 kB / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.225, allocations: 116.9 kB / 1.198 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.225, allocations: 176.3 kB / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.2251, allocations: 104.9 kB / 1.198 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.2251, allocations: 188.2 kB / 1.198 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2251, allocations: 101 kB / 1.198 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.2252, allocations: 83.27 kB / 1.198 GB, free: 436 kB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2252, allocations: 3.938 kB / 1.198 GB, free: 432 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001558/0.2253, allocations: 0 / 1.198 GB, free: 432 kB / 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.0002907/0.2256, allocations: 0.7971 MB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 3.907e-05/0.2257, allocations: 8 kB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2257, allocations: 0 / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.2257, allocations: 3.938 kB / 1.199 GB, free: 15.58 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2259, allocations: 459.7 kB / 1.199 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.2268, allocations: 1.532 MB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.2268, allocations: 59.34 kB / 1.201 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 8.095e-06/0.2268, allocations: 0 / 1.201 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.2268, allocations: 7.438 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of SimCode: time 5.71e-07/0.2268, allocations: 0 / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.2415, allocations: 1.414 MB / 1.202 GB, free: 12.14 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.451/6.692, allocations: 5.703 kB / 1.202 GB, free: 12.13 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.022659367881715] Failed to read output from testmodel.py, exit status != 0: 6.774380111135542 6.782747234 6.558354452 Calling exit ...