Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0007631/0.0007631, 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.0007991/0.0007991, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9569/0.9569, 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.04658/0.04658, allocations: 12.2 MB / 324.6 MB, free: 6.07 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.0004631/0.0004631, allocations: 31.92 kB / 384.1 MB, free: 10.49 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.661/1.661, allocations: 353.9 MB / 0.7787 GB, free: 4.418 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.Reals.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_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.001504/0.001504, allocations: 130.3 kB / 1.06 GB, free: 24.87 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2405, allocations: 134.9 MB / 1.192 GB, free: 7.496 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001907/0.2424, allocations: 0.5585 MB / 1.192 GB, free: 6.941 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 5.021e-05/0.2425, allocations: 0 / 1.192 GB, free: 6.941 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.2425, allocations: 4 kB / 1.192 GB, free: 6.938 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.2425, allocations: 3.938 kB / 1.192 GB, free: 6.934 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.2426, allocations: 4 kB / 1.192 GB, free: 6.93 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.672e-05/0.2426, allocations: 4 kB / 1.192 GB, free: 6.926 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.876e-05/0.2427, allocations: 11.91 kB / 1.192 GB, free: 6.914 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.2427, allocations: 4 kB / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.2427, allocations: 0 / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.959e-05/0.2428, allocations: 0 / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2428, allocations: 0 / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-06/0.2428, allocations: 0 / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.2428, allocations: 0 / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.2428, allocations: 0 / 1.192 GB, free: 6.91 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.426e-05/0.2429, allocations: 4 kB / 1.192 GB, free: 6.906 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2429, allocations: 11.94 kB / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2429, allocations: 0 / 1.192 GB, free: 6.895 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.2429, allocations: 0 / 1.192 GB, free: 6.895 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.0002259/0.2431, allocations: 238.7 kB / 1.193 GB, free: 6.629 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2432, allocations: 8.031 kB / 1.193 GB, free: 6.621 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.2432, allocations: 30.75 kB / 1.193 GB, free: 6.582 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.608e-05/0.2432, allocations: 4.938 kB / 1.193 GB, free: 6.578 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.088e-05/0.2433, allocations: 106.5 kB / 1.193 GB, free: 6.449 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2433, allocations: 384 / 1.193 GB, free: 6.449 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-06/0.2433, allocations: 4.312 kB / 1.193 GB, free: 6.445 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.051e-05/0.2434, allocations: 38.27 kB / 1.193 GB, free: 6.402 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2434, allocations: 3.938 kB / 1.193 GB, free: 6.398 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.2434, allocations: 3.984 kB / 1.193 GB, free: 6.395 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2434, allocations: 0 / 1.193 GB, free: 6.395 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.343e-05/0.2434, allocations: 0 / 1.193 GB, free: 6.395 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.2437, allocations: 346.6 kB / 1.193 GB, free: 6.012 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.2437, allocations: 177 kB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.2437, allocations: 80.58 kB / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2438, allocations: 75.28 kB / 1.193 GB, free: 5.672 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.2438, allocations: 113.8 kB / 1.193 GB, free: 5.551 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.2438, allocations: 4 kB / 1.193 GB, free: 5.547 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.767e-05/0.2439, allocations: 29.7 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2439, allocations: 138.6 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.671e-05/0.244, allocations: 93.86 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/0.2443, allocations: 25.7 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.2443, allocations: 80.14 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.2443, allocations: 0 / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.2443, allocations: 13.72 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.2444, allocations: 318.8 kB / 1.194 GB, free: 4.809 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.2444, allocations: 0 / 1.194 GB, free: 4.809 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-06/0.2444, allocations: 4.125 kB / 1.194 GB, free: 4.805 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.2444, allocations: 75.28 kB / 1.194 GB, free: 4.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/0.2444, allocations: 83.22 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.57e-05/0.2445, allocations: 25.7 kB / 1.194 GB, free: 4.617 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.2445, allocations: 79.28 kB / 1.194 GB, free: 4.539 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.2445, allocations: 83.22 kB / 1.194 GB, free: 4.457 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.922e-05/0.2446, allocations: 154.5 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.986e-05/0.2446, allocations: 79.22 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.073e-05/0.2446, allocations: 158.5 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.2447, allocations: 76.75 kB / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.2447, allocations: 83.22 kB / 1.195 GB, free: 3.914 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 9.376e-05/0.2448, allocations: 269.9 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.2448, allocations: 101 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.2449, allocations: 112.1 kB / 1.195 GB, free: 3.418 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/0.2449, allocations: 180.2 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-05/0.245, allocations: 180.3 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.791e-05/0.245, allocations: 184.2 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.2452, allocations: 372.2 kB / 1.196 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.2452, allocations: 108.9 kB / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.2452, allocations: 105 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-05/0.2453, allocations: 180.3 kB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.2453, allocations: 188.2 kB / 1.197 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-05/0.2454, allocations: 180.6 kB / 1.197 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.746e-05/0.2454, allocations: 188.2 kB / 1.197 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.2455, allocations: 315.7 kB / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2456, allocations: 109 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.2456, allocations: 180.2 kB / 1.198 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.2457, allocations: 108.9 kB / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.2457, allocations: 176.3 kB / 1.198 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.2458, allocations: 108.9 kB / 1.198 GB, free: 452 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.2458, allocations: 79.28 kB / 1.198 GB, free: 372 kB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2458, allocations: 4.094 kB / 1.198 GB, free: 368 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001552/0.246, allocations: 0 / 1.198 GB, free: 368 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.0003365/0.2463, allocations: 0.8087 MB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 3.511e-05/0.2463, allocations: 0 / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2463, allocations: 0 / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.2463, allocations: 3.938 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2466, allocations: 455.7 kB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2477, allocations: 1.546 MB / 1.201 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.2477, allocations: 59.34 kB / 1.201 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.835e-06/0.2478, allocations: 0 / 1.201 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.2478, allocations: 11.38 kB / 1.201 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of SimCode: time 6.31e-07/0.2478, allocations: 0 / 1.201 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.2612, allocations: 1.42 MB / 1.202 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/6.775, allocations: 4.062 kB / 1.202 GB, free: 12.05 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.13847394566983] Failed to read output from testmodel.py, exit status != 0: 6.852979552932084 6.864621845 6.619637532 Calling exit ...