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.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.001421/0.001421, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001652/0.001652, allocations: 210.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.02808/0.02808, allocations: 3.945 MB / 316.4 MB, free: 15.11 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/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(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.002524/0.002524, allocations: 75.89 kB / 439.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1318, allocations: 54.14 MB / 493.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.00414/0.1359, allocations: 1.535 MB / 495.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.1389, allocations: 1.098 MB / 496.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.139, allocations: 7.938 kB / 496.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.1392, allocations: 19.8 kB / 496.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1393, allocations: 19.84 kB / 496.5 MB, free: 2.719 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001232/0.1405, allocations: 259.2 kB / 496.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.1409, allocations: 167.6 kB / 496.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.141, allocations: 13.31 kB / 496.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1412, allocations: 63.7 kB / 497 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1413, allocations: 55.75 kB / 497.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1414, allocations: 8 kB / 497.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006581/0.142, allocations: 283.5 kB / 497.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.1421, allocations: 15.92 kB / 497.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.1422, allocations: 43.8 kB / 497.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.1428, allocations: 287 kB / 497.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1428, allocations: 0 / 497.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1428, allocations: 0 / 497.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1428, allocations: 0 / 497.7 MB, free: 1.543 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.00234/0.1451, allocations: 1.258 MB / 498.9 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1452, allocations: 12.03 kB / 498.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.1452, allocations: 34.75 kB / 499 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005082/0.1458, allocations: 52.78 kB / 499 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.1461, allocations: 159 kB / 499.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1461, allocations: 4.375 kB / 499.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.1462, allocations: 12.38 kB / 499.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.1467, allocations: 207.4 kB / 499.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1467, allocations: 0 / 499.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1468, allocations: 4 kB / 499.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1468, allocations: 3.938 kB / 499.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.1473, allocations: 185.6 kB / 499.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.1481, allocations: 315.7 kB / 499.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.1487, allocations: 188.2 kB / 0.4884 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.1492, allocations: 166.5 kB / 0.4885 GB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1492, allocations: 4 kB / 0.4885 GB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000721/0.1499, allocations: 330.1 kB / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.1499, allocations: 0 / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001677/0.1516, allocations: 0.5532 MB / 0.4894 GB, free: 13.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.1517, allocations: 89.22 kB / 0.4895 GB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.152, allocations: 172.2 kB / 0.4896 GB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.152, allocations: 29.7 kB / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1521, allocations: 104.4 kB / 0.4898 GB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.1522, allocations: 31.7 kB / 0.4898 GB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1523, allocations: 45.69 kB / 0.4898 GB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.1525, allocations: 330.8 kB / 0.4902 GB, free: 13.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.1529, allocations: 133.6 kB / 0.4903 GB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.1533, allocations: 144.4 kB / 0.4904 GB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.1541, allocations: 280.1 kB / 0.4907 GB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1541, allocations: 0 / 0.4907 GB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001028/0.1551, allocations: 346.5 kB / 0.491 GB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/0.1552, allocations: 45.69 kB / 0.4911 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1552, allocations: 0 / 0.4911 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1552, allocations: 4 kB / 0.4911 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1555, allocations: 23.98 kB / 0.4911 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.1555, allocations: 3.984 kB / 0.4911 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1556, allocations: 27.88 kB / 0.4911 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/0.1557, allocations: 15.97 kB / 0.4911 GB, free: 11.98 MB / 366.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 (12): * Single equations (assignments): 11 * 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.0002561/0.156, allocations: 191.3 kB / 0.4913 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1561, allocations: 19.91 kB / 0.4913 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.1562, allocations: 17.45 kB / 0.4914 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1562, allocations: 4 kB / 0.4914 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1562, allocations: 0 / 0.4914 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1562, allocations: 0 / 0.4914 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.1564, allocations: 180.5 kB / 0.4915 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1565, allocations: 4 kB / 0.4915 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1566, allocations: 11.98 kB / 0.4915 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1566, allocations: 0 / 0.4915 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.1566, allocations: 8 kB / 0.4915 GB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1566, allocations: 0 / 0.4915 GB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1566, allocations: 0 / 0.4915 GB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.1585, allocations: 0.6723 MB / 0.4922 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.1586, allocations: 15.92 kB / 0.4922 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.1586, allocations: 11.98 kB / 0.4922 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1588, allocations: 11.98 kB / 0.4922 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.1589, allocations: 11.98 kB / 0.4923 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.1589, allocations: 32.09 kB / 0.4923 GB, free: 10.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002164/0.1592, allocations: 124.9 kB / 0.4924 GB, free: 10.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1592, allocations: 4 kB / 0.4924 GB, free: 10.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006162/0.1598, allocations: 87.8 kB / 0.4925 GB, free: 10.49 MB / 366.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.003044/0.1628, allocations: 1.37 MB / 0.4938 GB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1639, allocations: 426.6 kB / 0.4942 GB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1639, allocations: 0 / 0.4942 GB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.1645, allocations: 264.9 kB / 0.4945 GB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1648, allocations: 12 kB / 0.4945 GB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.1699, allocations: 2.499 MB / 0.4969 GB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.17, allocations: 97.05 kB / 0.497 GB, free: 5.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.984e-05/0.1701, allocations: 12.42 kB / 0.497 GB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.1702, allocations: 39.36 kB / 0.4971 GB, free: 5.602 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1702, allocations: 0 / 0.4971 GB, free: 5.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.2137, allocations: 5.588 MB / 0.5025 GB, free: 120 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.89, allocations: 8 kB / 0.5025 GB, free: 112 kB / 366.1 MB " [Timeout remaining time 648] (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: 15.491178552154452] Failed to read output from testmodel.py, exit status != 0: 11.998033065814525 12.013717783 11.867641556 Calling exit ...