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.0008708/0.0008708, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008784/0.0008784, allocations: 208.1 kB / 22.25 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.9693/0.9693, 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.03747/0.03747, allocations: 12.19 MB / 324.6 MB, free: 6.102 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.0005397/0.0005397, allocations: 31.88 kB / 384.1 MB, free: 10.52 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.626/1.626, allocations: 353.9 MB / 0.7787 GB, free: 4.602 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.001401/0.001401, allocations: 114.7 kB / 1.06 GB, free: 24.84 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2087, allocations: 134.9 MB / 1.192 GB, free: 7.559 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001658/0.2103, allocations: 0.9152 MB / 1.193 GB, free: 6.645 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.2116, allocations: 1.464 MB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.2117, allocations: 8 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.2118, allocations: 15.75 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.2119, allocations: 63.55 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.2128, allocations: 435.6 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.2131, allocations: 0.4913 MB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2132, allocations: 29.81 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.2134, allocations: 191.6 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.2135, allocations: 143.5 kB / 1.195 GB, free: 3.816 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.2136, allocations: 48 kB / 1.195 GB, free: 3.77 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.2137, allocations: 63.92 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.2137, allocations: 35.86 kB / 1.195 GB, free: 3.672 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2138, allocations: 151.5 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.2141, allocations: 0.4948 MB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2141, allocations: 0 / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2141, allocations: 4 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2142, allocations: 4 kB / 1.196 GB, free: 3.02 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.0005788/0.2147, allocations: 0.5547 MB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2148, allocations: 8.031 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.2148, allocations: 38.75 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.2149, allocations: 32.8 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.215, allocations: 177.1 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.215, allocations: 16.38 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.215, allocations: 16.38 kB / 1.197 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2152, allocations: 121.6 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2152, allocations: 7.875 kB / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2152, allocations: 11.98 kB / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2152, allocations: 4 kB / 1.197 GB, free: 1.934 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.2153, allocations: 43.98 kB / 1.197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.2159, allocations: 0.7616 MB / 1.198 GB, free: 1.074 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2161, allocations: 106.4 kB / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.2161, allocations: 55.48 kB / 1.198 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.2161, allocations: 4 kB / 1.198 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.2163, allocations: 176.9 kB / 1.198 GB, free: 0.668 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2163, allocations: 0 / 1.198 GB, free: 0.668 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003423/0.2167, allocations: 229.4 kB / 1.198 GB, free: 448 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.2167, allocations: 136.5 kB / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.2169, allocations: 244.8 kB / 1.199 GB, free: 28 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.217, allocations: 37.7 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.217, allocations: 136.4 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.2171, allocations: 31.8 kB / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2172, allocations: 89.66 kB / 1.199 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.2172, allocations: 338.8 kB / 1.199 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.2175, allocations: 278.9 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.2178, allocations: 349.4 kB / 1.2 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.218, allocations: 365 kB / 1.2 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.218, allocations: 4 kB / 1.2 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006332/0.2187, allocations: 0.6948 MB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.2187, allocations: 134.8 kB / 1.201 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2187, allocations: 3.984 kB / 1.201 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2188, allocations: 4 kB / 1.201 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.2188, allocations: 12 kB / 1.201 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2189, allocations: 8.188 kB / 1.201 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007825/0.2196, allocations: 115.7 kB / 1.201 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.2197, allocations: 23.97 kB / 1.201 GB, free: 13.18 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.0001448/0.2198, allocations: 153.8 kB / 1.201 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.2198, allocations: 20 kB / 1.201 GB, free: 13 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.2199, allocations: 29.31 kB / 1.201 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2199, allocations: 0 / 1.201 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2199, allocations: 7.938 kB / 1.201 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.2199, allocations: 3.938 kB / 1.201 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2201, allocations: 208.7 kB / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2201, allocations: 0 / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.2201, allocations: 16 kB / 1.202 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2201, allocations: 0 / 1.202 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2201, allocations: 11.98 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2201, allocations: 4 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2201, allocations: 0 / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.2203, allocations: 219.4 kB / 1.202 GB, free: 12.44 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.2204, allocations: 23.83 kB / 1.202 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2204, allocations: 4 kB / 1.202 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.2204, allocations: 11.88 kB / 1.202 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.2205, allocations: 23.91 kB / 1.202 GB, free: 12.38 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.2205, allocations: 4 kB / 1.202 GB, free: 12.37 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001011/0.2206, allocations: 172.5 kB / 1.202 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of sort global known variables: time 4e-08/0.2206, allocations: 0 / 1.202 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002153/0.2208, allocations: 71.95 kB / 1.202 GB, free: 12.14 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.0004347/0.2212, allocations: 0.7576 MB / 1.203 GB, free: 11.34 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.2217, allocations: 0.6095 MB / 1.204 GB, free: 10.66 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2217, allocations: 0 / 1.204 GB, free: 10.66 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.982e-05/0.2218, allocations: 51.92 kB / 1.204 GB, free: 10.61 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2221, allocations: 68.8 kB / 1.204 GB, free: 10.54 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.225, allocations: 3.549 MB / 1.207 GB, free: 6.695 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.185e-05/0.2251, allocations: 120.9 kB / 1.207 GB, free: 6.559 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.33e-05/0.2252, allocations: 29.62 kB / 1.207 GB, free: 6.531 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.2252, allocations: 51.42 kB / 1.207 GB, free: 6.48 MB / 0.8387 GB Notification: Performance of SimCode: time 1.633e-06/0.2252, allocations: 0 / 1.207 GB, free: 6.48 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.2461, allocations: 7.532 MB / 1.215 GB, free: 15.18 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.925, allocations: 0 / 1.215 GB, free: 15.18 MB / 0.8543 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.238801433704793] Failed to read output from testmodel.py, exit status != 0: 7.006396462209523 7.016291941 6.799753525 Calling exit ...