Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.0009674/0.0009674, allocations: 105.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.001148/0.001148, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9636/0.9636, allocations: 230.6 MB / 256 MB, free: 9.828 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.03796/0.03796, allocations: 12.18 MB / 324.6 MB, free: 6.309 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.0004881/0.0004881, allocations: 27.94 kB / 384.1 MB, free: 10.72 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.714/1.714, allocations: 353.8 MB / 0.7787 GB, free: 3.164 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.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_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.001499/0.001499, allocations: 119.6 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2271, allocations: 134.9 MB / 1.192 GB, free: 7.945 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001724/0.2288, allocations: 0.946 MB / 1.193 GB, free: 7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2302, allocations: 1.492 MB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.2302, allocations: 4 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.2303, allocations: 15.75 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.2304, allocations: 63.55 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.2311, allocations: 440 kB / 1.195 GB, free: 4.996 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.2315, allocations: 499.1 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2317, allocations: 37.8 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.2318, allocations: 191.5 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.232, allocations: 163.5 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.232, allocations: 48 kB / 1.196 GB, free: 4.074 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.2321, allocations: 59.98 kB / 1.196 GB, free: 4.016 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.2321, allocations: 43.78 kB / 1.196 GB, free: 3.973 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2322, allocations: 163.5 kB / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.2326, allocations: 0.4948 MB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2326, allocations: 0 / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2326, allocations: 4 kB / 1.196 GB, free: 3.312 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2326, allocations: 0 / 1.196 GB, free: 3.312 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006228/0.2332, allocations: 0.5625 MB / 1.197 GB, free: 2.691 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2332, allocations: 12.03 kB / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.2333, allocations: 34.75 kB / 1.197 GB, free: 2.637 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.2333, allocations: 32.8 kB / 1.197 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2335, allocations: 173.2 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2335, allocations: 12.38 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.2335, allocations: 24.38 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2337, allocations: 117.6 kB / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2337, allocations: 11.88 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2337, allocations: 3.984 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2337, allocations: 0 / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.2338, allocations: 55.92 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.2345, allocations: 0.8436 MB / 1.198 GB, free: 1.277 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.2346, allocations: 118.4 kB / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.2346, allocations: 51.48 kB / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.2347, allocations: 4 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.2349, allocations: 180.9 kB / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.2349, allocations: 0 / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003176/0.2352, allocations: 229.6 kB / 1.199 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.2353, allocations: 140.5 kB / 1.199 GB, free: 472 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2355, allocations: 240.8 kB / 1.199 GB, free: 224 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2355, allocations: 37.7 kB / 1.199 GB, free: 180 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.2356, allocations: 136.5 kB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.2356, allocations: 27.8 kB / 1.199 GB, free: 8 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2357, allocations: 97.67 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.2358, allocations: 330.8 kB / 1.2 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.236, allocations: 148.1 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2362, allocations: 226.6 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.2365, allocations: 364.9 kB / 1.2 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2365, allocations: 0 / 1.2 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005486/0.2371, allocations: 0.5665 MB / 1.201 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 9.565e-05/0.2372, allocations: 138.7 kB / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.2372, allocations: 4 kB / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/0.2372, allocations: 4 kB / 1.201 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.2373, allocations: 15.94 kB / 1.201 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2373, allocations: 7.984 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.2376, allocations: 111.8 kB / 1.201 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.2376, allocations: 27.98 kB / 1.201 GB, free: 13.82 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001024/0.2377, allocations: 154.8 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2377, allocations: 23.86 kB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.2378, allocations: 17.34 kB / 1.201 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2378, allocations: 11.98 kB / 1.201 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2378, allocations: 0 / 1.201 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2378, allocations: 7.938 kB / 1.201 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.2379, allocations: 224.6 kB / 1.202 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2379, allocations: 4 kB / 1.202 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.238, allocations: 11.94 kB / 1.202 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.238, allocations: 3.984 kB / 1.202 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.238, allocations: 4 kB / 1.202 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.238, allocations: 0 / 1.202 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.238, allocations: 4 kB / 1.202 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.2382, allocations: 223.4 kB / 1.202 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.2382, allocations: 19.84 kB / 1.202 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2383, allocations: 0 / 1.202 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.2383, allocations: 11.98 kB / 1.202 GB, free: 13.03 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.2383, allocations: 15.92 kB / 1.202 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2383, allocations: 19.98 kB / 1.202 GB, free: 13 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 9.386e-05/0.2384, allocations: 164.5 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2384, allocations: 0 / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002098/0.2386, allocations: 71.94 kB / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004184/0.2391, allocations: 0.7584 MB / 1.203 GB, free: 11.97 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.2395, allocations: 485.6 kB / 1.203 GB, free: 11.45 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2395, allocations: 0 / 1.203 GB, free: 11.45 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.297e-05/0.2396, allocations: 64.58 kB / 1.203 GB, free: 11.39 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2399, allocations: 73.91 kB / 1.203 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.2424, allocations: 3.026 MB / 1.206 GB, free: 8.09 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.2426, allocations: 0.732 MB / 1.207 GB, free: 7.332 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.265e-05/0.2426, allocations: 17.64 kB / 1.207 GB, free: 7.316 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.2427, allocations: 55.41 kB / 1.207 GB, free: 7.262 MB / 0.8387 GB Notification: Performance of SimCode: time 5.81e-07/0.2427, allocations: 4 kB / 1.207 GB, free: 7.258 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.2606, allocations: 6.596 MB / 1.214 GB, free: 0.8555 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.534/6.795, allocations: 8.781 kB / 1.214 GB, free: 0.8516 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.152638532221317] Failed to read output from testmodel.py, exit status != 0: 6.873150639235973 6.881717695 6.647384785 Calling exit ...