Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 105.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 245.1 MB, free: 4.352 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.2103/0.2103, allocations: 3.884 MB / 301.1 MB, free: 4.023 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AdvancedNoise.Examples.VaryingDistribution,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_VaryingDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.VaryingDistribution,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_VaryingDistribution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 71.89 kB / 415.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4011, allocations: 50.16 MB / 465.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002791/0.4039, allocations: 1.512 MB / 466.8 MB, free: 20.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.4059, allocations: 1.109 MB / 467.9 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.406, allocations: 0 / 467.9 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.4062, allocations: 25.88 kB / 467.9 MB, free: 19.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.4063, allocations: 10.27 kB / 468 MB, free: 19.89 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0009208/0.4072, allocations: 246.5 kB / 468.2 MB, free: 19.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.4075, allocations: 163.6 kB / 468.4 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4076, allocations: 8.891 kB / 468.4 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4077, allocations: 68.34 kB / 468.4 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.4079, allocations: 54.62 kB / 468.5 MB, free: 19.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.4079, allocations: 9 kB / 468.5 MB, free: 19.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.4084, allocations: 243.2 kB / 468.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.4084, allocations: 22.42 kB / 468.8 MB, free: 19.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.4085, allocations: 60.44 kB / 468.8 MB, free: 19.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.4091, allocations: 286.3 kB / 469.1 MB, free: 19.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4091, allocations: 0 / 469.1 MB, free: 19.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4091, allocations: 0 / 469.1 MB, free: 19.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4091, allocations: 0 / 469.1 MB, free: 19.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001858/0.411, allocations: 1.341 MB / 470.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.4111, allocations: 10.03 kB / 470.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.4111, allocations: 47.97 kB / 470.5 MB, free: 18.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/0.4116, allocations: 44.53 kB / 470.5 MB, free: 18.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.412, allocations: 221.2 kB / 470.8 MB, free: 18.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.412, allocations: 9.016 kB / 470.8 MB, free: 18.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.412, allocations: 10.69 kB / 470.8 MB, free: 18.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.4125, allocations: 167.8 kB / 470.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4125, allocations: 0 / 470.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.4125, allocations: 6.031 kB / 470.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4125, allocations: 1.531 kB / 470.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.4129, allocations: 137.5 kB / 471.1 MB, free: 18.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.4136, allocations: 360.1 kB / 471.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.4141, allocations: 204.4 kB / 471.6 MB, free: 17.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.4144, allocations: 181.5 kB / 471.8 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4144, allocations: 1.219 kB / 471.8 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005172/0.415, allocations: 302.4 kB / 472.1 MB, free: 17.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.415, allocations: 0 / 472.1 MB, free: 17.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001163/0.4162, allocations: 476 kB / 472.6 MB, free: 17.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.4162, allocations: 93.69 kB / 472.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4164, allocations: 154.9 kB / 472.8 MB, free: 17.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4164, allocations: 28.42 kB / 472.8 MB, free: 17.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.4165, allocations: 103 kB / 472.9 MB, free: 17.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.4165, allocations: 36.38 kB / 473 MB, free: 17.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.4166, allocations: 43.77 kB / 473 MB, free: 17.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.4167, allocations: 334.2 kB / 473.3 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.4169, allocations: 88.47 kB / 473.4 MB, free: 16.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.4172, allocations: 94.59 kB / 473.5 MB, free: 16.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.4177, allocations: 275 kB / 473.8 MB, free: 16.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4177, allocations: 8.062 kB / 473.8 MB, free: 16.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006226/0.4183, allocations: 290.3 kB / 474.1 MB, free: 16.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.4184, allocations: 51.48 kB / 474.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4184, allocations: 0 / 474.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4184, allocations: 1.281 kB / 474.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.4186, allocations: 26.12 kB / 474.2 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4186, allocations: 1.156 kB / 474.2 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.4187, allocations: 30.48 kB / 474.2 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.4188, allocations: 24.3 kB / 474.2 MB, free: 16.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0001938/0.419, allocations: 193.4 kB / 474.4 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.4191, allocations: 17.66 kB / 474.4 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.4191, allocations: 12.77 kB / 474.4 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4191, allocations: 1.312 kB / 474.4 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4191, allocations: 1.641 kB / 474.4 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4192, allocations: 4 kB / 474.4 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4194, allocations: 220.4 kB / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4194, allocations: 0 / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.4195, allocations: 13.14 kB / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4195, allocations: 0 / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.4196, allocations: 8.516 kB / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4196, allocations: 3.938 kB / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4196, allocations: 1.281 kB / 474.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4208, allocations: 0.5815 MB / 475.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.4209, allocations: 93.73 kB / 475.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.4209, allocations: 21.56 kB / 475.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.421, allocations: 12.67 kB / 475.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.4211, allocations: 12.34 kB / 475.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.4212, allocations: 29.48 kB / 475.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.4213, allocations: 120 kB / 475.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4213, allocations: 1.375 kB / 475.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005225/0.4218, allocations: 84.66 kB / 475.6 MB, free: 15.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002015/0.4238, allocations: 1.266 MB / 476.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008173/0.4247, allocations: 434 kB / 477.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4247, allocations: 3.938 kB / 477.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.4252, allocations: 363 kB / 477.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4254, allocations: 25.67 kB / 477.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.4288, allocations: 2.228 MB / 479.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.429, allocations: 0.712 MB / 480.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.18e-05/0.4291, allocations: 12.61 kB / 480.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.4292, allocations: 36.17 kB / 480.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4292, allocations: 3.938 kB / 480.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.4649, allocations: 4.778 MB / 485.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/9.276, allocations: 5 kB / 485.5 MB, free: 10.99 MB / 350.1 MB " [Timeout remaining time 651] (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & python3 -m fmpy simulate --output-file AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 AdvancedNoise_AdvancedNoise_Examples_VaryingDistribution.fmu > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.996584194945171] Failed to read output from testmodel.py, exit status != 0: 9.353108944022097 9.372978343 8.960076177 Calling exit ...