Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.0008846/0.0008846, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009972/0.0009972, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9847/0.9847, allocations: 230.6 MB / 256 MB, free: 9.648 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.04013/0.04013, allocations: 12.18 MB / 324.6 MB, free: 6.293 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.0005592/0.0005592, allocations: 35.88 kB / 384.1 MB, free: 10.7 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.739/1.739, allocations: 353.8 MB / 0.7787 GB, free: 3.195 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.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",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.001554/0.001554, allocations: 118.4 kB / 1.06 GB, free: 24.86 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2206, allocations: 134.9 MB / 1.192 GB, free: 7.793 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001557/0.2222, allocations: 0.7106 MB / 1.192 GB, free: 7.086 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2233, allocations: 1.184 MB / 1.194 GB, free: 5.891 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.2234, allocations: 4 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.2234, allocations: 7.922 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.2235, allocations: 11.88 kB / 1.194 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2239, allocations: 133.8 kB / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2241, allocations: 127.7 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.2242, allocations: 8 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.2242, allocations: 47.91 kB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.545e-05/0.2243, allocations: 43.83 kB / 1.194 GB, free: 5.516 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2243, allocations: 12 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.2244, allocations: 27.98 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2244, allocations: 11.92 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.2245, allocations: 39.86 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.2247, allocations: 131.9 kB / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2247, allocations: 4 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2247, allocations: 0 / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.2247, allocations: 0 / 1.194 GB, free: 5.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005418/0.2252, allocations: 319.8 kB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2253, allocations: 12.03 kB / 1.195 GB, free: 4.93 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.2253, allocations: 34.73 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.2253, allocations: 12.89 kB / 1.195 GB, free: 4.875 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2254, allocations: 118.5 kB / 1.195 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2255, allocations: 4.359 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2255, allocations: 8.375 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.2255, allocations: 42.25 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2256, allocations: 7.938 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.2256, allocations: 3.938 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2256, allocations: 4 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.2256, allocations: 15.98 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.226, allocations: 307.7 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.129e-05/0.226, allocations: 26.58 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.226, allocations: 12.92 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-06/0.226, allocations: 0 / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.2262, allocations: 67.33 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2262, allocations: 0 / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002232/0.2264, allocations: 81.56 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2264, allocations: 51.41 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.2265, allocations: 129.8 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2265, allocations: 25.7 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.2266, allocations: 92.12 kB / 1.196 GB, free: 3.762 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2266, allocations: 15.95 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.2266, allocations: 29.7 kB / 1.196 GB, free: 3.711 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.2267, allocations: 322.8 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.2268, allocations: 35.98 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.2268, allocations: 54.56 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2269, allocations: 96.2 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.2269, allocations: 0 / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002009/0.2271, allocations: 163.2 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.2272, allocations: 41.69 kB / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2272, allocations: 0 / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2272, allocations: 0 / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.2272, allocations: 4 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.2272, allocations: 0 / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2274, allocations: 36.05 kB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2274, allocations: 7.984 kB / 1.196 GB, free: 2.914 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.821e-05/0.2275, allocations: 125.7 kB / 1.196 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.2275, allocations: 0 / 1.196 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.2275, allocations: 12 kB / 1.196 GB, free: 2.762 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2275, allocations: 0 / 1.196 GB, free: 2.762 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2275, allocations: 3.938 kB / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2275, allocations: 0 / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.2276, allocations: 152.6 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2276, allocations: 4 kB / 1.197 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.2276, allocations: 0 / 1.197 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2276, allocations: 0 / 1.197 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.2276, allocations: 8.234 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.2276, allocations: 0 / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2276, allocations: 0 / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2277, allocations: 96.92 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.2278, allocations: 11.95 kB / 1.197 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.2278, allocations: 4 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.2278, allocations: 3.938 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.2278, allocations: 7.984 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.2278, allocations: 0 / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.2279, allocations: 99.27 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2279, allocations: 0 / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001443/0.228, allocations: 19.94 kB / 1.197 GB, free: 2.297 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 ($whenCondition1,$whenCondition2,pulse.booPul.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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003078/0.2283, allocations: 0.6241 MB / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2285, allocations: 123.3 kB / 1.198 GB, free: 1.512 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2285, allocations: 0 / 1.198 GB, free: 1.512 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.2286, allocations: 12 kB / 1.198 GB, free: 1.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.2287, allocations: 15.98 kB / 1.198 GB, free: 1.484 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2298, allocations: 1.511 MB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.2301, allocations: 0.6846 MB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.2301, allocations: 4 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.2301, allocations: 19.42 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of SimCode: time 4.01e-07/0.2301, allocations: 0 / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.2454, allocations: 2.482 MB / 1.202 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.177/6.422, allocations: 8.062 kB / 1.202 GB, free: 12.8 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.927524961531162] Failed to read output from testmodel.py, exit status != 0: 6.498449276201427 6.508507981 6.281320565 Calling exit ...