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.0007464/0.0007464, allocations: 105.5 kB / 18.95 MB, free: 1.191 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.0008995/0.0008995, allocations: 212 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.9433/0.9433, allocations: 230.6 MB / 256 MB, free: 9.621 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.03759/0.03759, allocations: 12.18 MB / 324.6 MB, free: 6.117 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.0004289/0.0004289, allocations: 27.94 kB / 384.1 MB, free: 10.54 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.665/1.665, allocations: 353.8 MB / 0.7787 GB, free: 4.59 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.001392/0.001392, allocations: 121.8 kB / 1.06 GB, free: 24.68 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2324, allocations: 134.9 MB / 1.192 GB, free: 7.516 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001652/0.234, allocations: 0.7013 MB / 1.192 GB, free: 6.816 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2352, allocations: 1.16 MB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.2352, allocations: 4 kB / 1.194 GB, free: 5.641 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.2353, allocations: 7.922 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.496e-05/0.2354, allocations: 7.938 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.2358, allocations: 143.6 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.236, allocations: 131.7 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2361, allocations: 8 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.2362, allocations: 43.91 kB / 1.194 GB, free: 5.309 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.2363, allocations: 35.89 kB / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.2363, allocations: 12 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.947e-05/0.2363, allocations: 23.98 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.2364, allocations: 11.92 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.2364, allocations: 35.92 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.2366, allocations: 131.9 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2366, allocations: 4 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2366, allocations: 0 / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.2366, allocations: 0 / 1.194 GB, free: 5.059 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.0005088/0.2371, allocations: 323.7 kB / 1.194 GB, free: 4.703 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2372, allocations: 12.03 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.2372, allocations: 34.75 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.2373, allocations: 8.891 kB / 1.194 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2374, allocations: 122.5 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2374, allocations: 384 / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.2374, allocations: 12.38 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.526e-05/0.2375, allocations: 42.25 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2375, allocations: 7.938 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.2375, allocations: 3.938 kB / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2375, allocations: 0 / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.2376, allocations: 15.98 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.238, allocations: 275.8 kB / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.2381, allocations: 30.56 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.2381, allocations: 16.86 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2381, allocations: 3.938 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.2383, allocations: 67.39 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 2.815e-06/0.2383, allocations: 4 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.2385, allocations: 77.62 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2386, allocations: 51.41 kB / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2387, allocations: 117.8 kB / 1.195 GB, free: 3.684 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2387, allocations: 37.64 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.2387, allocations: 92.12 kB / 1.195 GB, free: 3.547 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.2388, allocations: 3.953 kB / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.2388, allocations: 29.7 kB / 1.195 GB, free: 3.508 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.2389, allocations: 326.8 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.239, allocations: 65.69 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-05/0.2391, allocations: 92.25 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.613e-05/0.2391, allocations: 92.22 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2391, allocations: 3.938 kB / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001895/0.2393, allocations: 200.9 kB / 1.196 GB, free: 2.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.2394, allocations: 33.7 kB / 1.196 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2394, allocations: 0 / 1.196 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2394, allocations: 4.047 kB / 1.196 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.2394, allocations: 8 kB / 1.196 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2394, allocations: 0 / 1.196 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2396, allocations: 35.98 kB / 1.196 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2396, allocations: 4 kB / 1.196 GB, free: 2.59 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 7.459e-05/0.2397, allocations: 121.8 kB / 1.196 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.2397, allocations: 7.984 kB / 1.196 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.2397, allocations: 4 kB / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2397, allocations: 0 / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2397, allocations: 0 / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2397, allocations: 0 / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.661e-05/0.2398, allocations: 148.7 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.2398, allocations: 4 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.2398, allocations: 4 kB / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2398, allocations: 240 / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2398, allocations: 3.938 kB / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2398, allocations: 0 / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.2398, allocations: 0 / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.2399, allocations: 97 kB / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.2399, allocations: 19.88 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2399, allocations: 0 / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.322e-05/0.2399, allocations: 0 / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.24, allocations: 0 / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.24, allocations: 8 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.24, allocations: 99.27 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.24, allocations: 0 / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001462/0.2402, allocations: 19.94 kB / 1.197 GB, free: 1.984 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.0003559/0.2405, allocations: 0.628 MB / 1.197 GB, free: 1.328 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.2407, allocations: 157 kB / 1.198 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2407, allocations: 0 / 1.198 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.2408, allocations: 12 kB / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.2409, allocations: 20.11 kB / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2422, allocations: 1.631 MB / 1.199 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.2423, allocations: 71.5 kB / 1.199 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.2423, allocations: 7.984 kB / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.2424, allocations: 19.44 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of SimCode: time 5.21e-07/0.2424, allocations: 4 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.2578, allocations: 3.014 MB / 1.202 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.459/6.717, allocations: 18.03 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.038173010572791] Failed to read output from testmodel.py, exit status != 0: 6.793789574876428 6.802151393 6.563868748 Calling exit ...