Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.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.001303/0.001303, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001499/0.001499, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 1.007/1.007, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.06531/0.06531, allocations: 12.74 MB / 271.9 MB, free: 484 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,fileNamePrefix="Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,fileNamePrefix="Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 402.7 MB, free: 9.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.597e-05, allocations: 2.281 kB / 402.7 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001781/0.001807, allocations: 0.6042 MB / 403.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.001972, allocations: 11.98 kB / 403.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.002002, allocations: 0 / 403.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.002033, allocations: 3.938 kB / 403.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.175e-05/0.002055, allocations: 0 / 403.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.002192, allocations: 3.984 kB / 403.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.939e-05/0.002251, allocations: 8 kB / 403.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.002295, allocations: 3.938 kB / 403.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.002338, allocations: 11.98 kB / 403.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.002396, allocations: 3.938 kB / 403.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.002412, allocations: 0 / 403.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.002419, allocations: 0 / 403.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.002439, allocations: 4 kB / 403.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.002459, allocations: 0 / 403.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.263e-05/0.002521, allocations: 7.969 kB / 403.4 MB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.002524, allocations: 0 / 403.4 MB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.002525, allocations: 0 / 403.4 MB, free: 8.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.002529, allocations: 8 kB / 403.4 MB, free: 8.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003769/0.002906, allocations: 251.2 kB / 403.6 MB, free: 8.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.002956, allocations: 15.98 kB / 403.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.768e-05/0.003054, allocations: 30.75 kB / 403.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.00308, allocations: 0.9375 kB / 403.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.003171, allocations: 109.7 kB / 403.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.003183, allocations: 4.375 kB / 403.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.003197, allocations: 384 / 403.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/0.003287, allocations: 38.25 kB / 403.8 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.003294, allocations: 192 / 403.8 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.003301, allocations: 4.375 kB / 403.8 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003307, allocations: 4.125 kB / 403.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.003331, allocations: 8 kB / 403.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.003595, allocations: 204 kB / 404.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.003648, allocations: 30.55 kB / 404.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.003671, allocations: 12.92 kB / 404.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.003678, allocations: 3.938 kB / 404.1 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.003701, allocations: 38.5 kB / 404.1 MB, free: 8.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.003702, allocations: 0 / 404.1 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001261/0.003828, allocations: 53.62 kB / 404.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.003855, allocations: 51.41 kB / 404.2 MB, free: 7.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.003913, allocations: 97.8 kB / 404.3 MB, free: 7.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.003922, allocations: 25.7 kB / 404.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.00396, allocations: 92.08 kB / 404.5 MB, free: 7.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.00397, allocations: 7.953 kB / 404.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.003998, allocations: 17.72 kB / 404.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.004075, allocations: 310.8 kB / 404.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.004089, allocations: 0 / 404.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.004108, allocations: 25.7 kB / 404.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.004233, allocations: 34.06 kB / 404.8 MB, free: 7.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004235, allocations: 0 / 404.8 MB, free: 7.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.015e-05/0.004295, allocations: 53.61 kB / 404.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.004308, allocations: 11.94 kB / 404.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004312, allocations: 0 / 404.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.004323, allocations: 0 / 404.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.004383, allocations: 11.92 kB / 404.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.004389, allocations: 4 kB / 404.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/0.004402, allocations: 0 / 404.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004407, allocations: 4.031 kB / 404.9 MB, free: 7.246 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: $outputAlias_y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.avoid ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.000133/0.00454, allocations: 117.8 kB / 405 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.004556, allocations: 3.938 kB / 405 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.505e-05/0.004571, allocations: 3.312 kB / 405.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.004574, allocations: 4 kB / 405.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.004578, allocations: 0 / 405.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004581, allocations: 0 / 405.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.004756, allocations: 245.7 kB / 405.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004758, allocations: 0 / 405.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.004812, allocations: 7.938 kB / 405.3 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.004814, allocations: 4.031 kB / 405.3 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.004821, allocations: 0 / 405.3 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.004822, allocations: 4 kB / 405.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.004823, allocations: 0 / 405.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.004937, allocations: 143.4 kB / 405.4 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.004943, allocations: 4.031 kB / 405.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.004952, allocations: 0 / 405.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.004983, allocations: 0 / 405.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.004998, allocations: 3.984 kB / 405.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.005004, allocations: 4 kB / 405.5 MB, free: 6.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.719e-05/0.005032, allocations: 87.38 kB / 405.5 MB, free: 6.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005032, allocations: 0 / 405.5 MB, free: 6.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.005183, allocations: 4 kB / 405.6 MB, free: 6.551 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_y) * 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 (2): * Single equations (assignments): 2 * 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.0002719/0.005455, allocations: 0.6733 MB / 406.2 MB, free: 5.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.005526, allocations: 19.98 kB / 406.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.005528, allocations: 0 / 406.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-06/0.005536, allocations: 7.938 kB / 406.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.005699, allocations: 3.938 kB / 406.3 MB, free: 5.816 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:329:5-330:56:writable] Warning: Variable y has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009102/0.006609, allocations: 1.196 MB / 407.5 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.266e-05/0.006652, allocations: 67.28 kB / 407.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.371e-05/0.006665, allocations: 3.953 kB / 407.5 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.006693, allocations: 8.5 kB / 407.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006694, allocations: 0 / 407.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08484/0.09153, allocations: 1.792 MB / 409.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.13, allocations: 6.234 kB / 409.3 MB, free: 2.754 MB / 378.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-05 ../Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue.fmu) > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.006 ../Bodylight_Bodylight_Blocks_Signals_Components_ContinuousMeanValue.fmu) > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.412508922629058]