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.001486/0.001486, allocations: 88.42 kB / 19.94 MB, free: 4.609 MB / 18.57 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.001763/0.001763, allocations: 177.9 kB / 23.22 MB, free: 1.328 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.02/1.02, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.05968/0.05968, allocations: 12.74 MB / 272.7 MB, free: 0.5 MB / 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: translateModel(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") translateModel(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 403.2 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.584e-05, allocations: 5.375 kB / 403.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.00146/0.001486, allocations: 0.6002 MB / 403.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001321/0.001618, allocations: 23.84 kB / 403.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.001652, allocations: 4 kB / 403.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.001681, allocations: 0 / 403.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 1.742e-05/0.001699, allocations: 0 / 403.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.001819, allocations: 0 / 403.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.001874, allocations: 12 kB / 403.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.001921, allocations: 3.984 kB / 403.8 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.001957, allocations: 4 kB / 403.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.002014, allocations: 0 / 403.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.002034, allocations: 0 / 403.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.002041, allocations: 0 / 403.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.00206, allocations: 7.922 kB / 403.9 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.002081, allocations: 4 kB / 403.9 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.869e-05/0.00214, allocations: 3.984 kB / 403.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002142, allocations: 0 / 403.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002143, allocations: 0 / 403.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.002147, allocations: 4 kB / 403.9 MB, free: 8.098 MB / 330.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.0003146/0.002461, allocations: 257.8 kB / 404.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.002498, allocations: 15.98 kB / 404.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.002529, allocations: 4.891 kB / 404.1 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.395e-05/0.002593, allocations: 101.8 kB / 404.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.002608, allocations: 4.375 kB / 404.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.002624, allocations: 4.375 kB / 404.3 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.002699, allocations: 34.25 kB / 404.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-06/0.002705, allocations: 4.125 kB / 404.3 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.002713, allocations: 4.375 kB / 404.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.002717, allocations: 384 / 404.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.002734, allocations: 7.938 kB / 404.3 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.002939, allocations: 180.6 kB / 404.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.002975, allocations: 18.52 kB / 404.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.00299, allocations: 8.922 kB / 404.5 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.002998, allocations: 3.984 kB / 404.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.00302, allocations: 34.56 kB / 404.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.003021, allocations: 0 / 404.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.003146, allocations: 45.56 kB / 404.6 MB, free: 7.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.003174, allocations: 55.53 kB / 404.6 MB, free: 7.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.244e-05/0.003227, allocations: 97.86 kB / 404.7 MB, free: 7.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.003236, allocations: 29.64 kB / 404.8 MB, free: 7.055 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.003265, allocations: 92.02 kB / 404.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.003273, allocations: 7.953 kB / 404.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.003295, allocations: 13.72 kB / 404.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.621e-05/0.003361, allocations: 314.8 kB / 405.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.003371, allocations: 0 / 405.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.003388, allocations: 13.72 kB / 405.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.003504, allocations: 37.67 kB / 405.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003506, allocations: 0 / 405.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.09e-05/0.003557, allocations: 37.7 kB / 405.3 MB, free: 6.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.00357, allocations: 11.98 kB / 405.3 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.003576, allocations: 3.938 kB / 405.3 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.003588, allocations: 0 / 405.3 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.00364, allocations: 7.938 kB / 405.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.003646, allocations: 4 kB / 405.3 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.003658, allocations: 4 kB / 405.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.003663, allocations: 4.062 kB / 405.3 MB, free: 6.477 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: output y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"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 (3): * Single equations (assignments): 3 * 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 8.497e-05/0.003747, allocations: 109.8 kB / 405.4 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.003762, allocations: 0 / 405.4 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.559e-05/0.003777, allocations: 7.094 kB / 405.4 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.00378, allocations: 3.984 kB / 405.4 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.003783, allocations: 0 / 405.4 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003785, allocations: 0 / 405.4 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.408e-05/0.003859, allocations: 101.3 kB / 405.5 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.00386, allocations: 0 / 405.5 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.003897, allocations: 8 kB / 405.5 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.003898, allocations: 0 / 405.5 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.003905, allocations: 11.94 kB / 405.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.003907, allocations: 3.938 kB / 405.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.00391, allocations: 7.969 kB / 405.6 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.962e-05/0.004009, allocations: 135.5 kB / 405.7 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.004015, allocations: 4.031 kB / 405.7 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.004024, allocations: 3.984 kB / 405.7 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.622e-05/0.00405, allocations: 3.938 kB / 405.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.004061, allocations: 0 / 405.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.004065, allocations: 4.094 kB / 405.7 MB, free: 6.027 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.278e-05/0.004087, allocations: 83.22 kB / 405.8 MB, free: 5.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004087, allocations: 0 / 405.8 MB, free: 5.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.004223, allocations: 4 kB / 405.8 MB, free: 5.941 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (1): * Single equations (assignments): 1 * 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 7.063e-05/0.004293, allocations: 91.19 kB / 405.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.113e-05/0.004354, allocations: 15.98 kB / 405.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.004356, allocations: 0 / 405.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.004362, allocations: 7.938 kB / 405.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.00452, allocations: 192 / 405.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.004815, allocations: 150.4 kB / 406 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.473e-05/0.00485, allocations: 55.36 kB / 406.1 MB, free: 5.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.00487, allocations: 12.5 kB / 406.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of SimCode: time 3.6e-07/0.00487, allocations: 0 / 406.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of Templates: time 0.001323/0.006194, allocations: 488.1 kB / 406.6 MB, free: 5.078 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.makefile [Timeout 660] (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 & ./Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.476390725933015]