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.001543/0.001543, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002503/0.002503, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.02889/0.02889, allocations: 3.944 MB / 317.2 MB, free: 15.43 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.VaryingDistribution,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_VaryingDistribution",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AdvancedNoise 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.00209/0.00209, allocations: 59.91 kB / 440.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.107, allocations: 54.16 MB / 494.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002907/0.1099, allocations: 1.555 MB / 496.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1121, allocations: 1.188 MB / 497.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.1121, allocations: 0 / 497.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.1122, allocations: 15.8 kB / 497.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.1123, allocations: 19.86 kB / 497.5 MB, free: 3.012 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.0008122/0.1131, allocations: 263.2 kB / 497.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1134, allocations: 163.7 kB / 497.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.1135, allocations: 5.312 kB / 497.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1136, allocations: 71.75 kB / 498 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1137, allocations: 59.75 kB / 498 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1137, allocations: 12 kB / 498 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.1142, allocations: 299.4 kB / 498.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.1143, allocations: 23.86 kB / 498.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.1144, allocations: 51.73 kB / 498.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.1149, allocations: 287.1 kB / 498.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1149, allocations: 0 / 498.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1149, allocations: 3.938 kB / 498.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1149, allocations: 3.984 kB / 498.7 MB, free: 1.789 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.001997/0.1169, allocations: 1.274 MB / 500 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1169, allocations: 12.03 kB / 500 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.725e-05/0.117, allocations: 192 / 500 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.117, allocations: 34.75 kB / 0.4883 GB, free: 432 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004519/0.1175, allocations: 52.78 kB / 0.4883 GB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1177, allocations: 155 kB / 0.4885 GB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1178, allocations: 4.375 kB / 0.4885 GB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.1178, allocations: 12.38 kB / 0.4885 GB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.1182, allocations: 168.2 kB / 0.4887 GB, free: 8 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1182, allocations: 0 / 0.4887 GB, free: 8 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1182, allocations: 4 kB / 0.4887 GB, free: 4 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1182, allocations: 4 kB / 0.4887 GB, free: 0 / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.1186, allocations: 139.9 kB / 0.4888 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.1192, allocations: 335.7 kB / 0.4891 GB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1196, allocations: 146.5 kB / 0.4893 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.1199, allocations: 120.8 kB / 0.4894 GB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1199, allocations: 7.984 kB / 0.4894 GB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.1203, allocations: 296.5 kB / 0.4897 GB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1203, allocations: 0 / 0.4897 GB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001088/0.1214, allocations: 483.1 kB / 0.4901 GB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.1215, allocations: 101.1 kB / 0.4902 GB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1217, allocations: 168.1 kB / 0.4904 GB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1217, allocations: 29.64 kB / 0.4904 GB, free: 14.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.1218, allocations: 104.4 kB / 0.4905 GB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.1218, allocations: 35.7 kB / 0.4905 GB, free: 13.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.1219, allocations: 41.69 kB / 0.4906 GB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.1221, allocations: 330.8 kB / 0.4909 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1224, allocations: 95.94 kB / 0.491 GB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.1226, allocations: 95.94 kB / 0.4911 GB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.1231, allocations: 274.6 kB / 0.4913 GB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1231, allocations: 0 / 0.4913 GB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000609/0.1237, allocations: 311.1 kB / 0.4916 GB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.1238, allocations: 49.69 kB / 0.4917 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1238, allocations: 8 kB / 0.4917 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1238, allocations: 0 / 0.4917 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1239, allocations: 27.97 kB / 0.4917 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.124, allocations: 0 / 0.4917 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1241, allocations: 15.89 kB / 0.4917 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.1241, allocations: 23.97 kB / 0.4918 GB, free: 12.64 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.0001916/0.1243, allocations: 195.4 kB / 0.492 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.1244, allocations: 15.95 kB / 0.492 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.1244, allocations: 9.469 kB / 0.492 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1244, allocations: 4 kB / 0.492 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1244, allocations: 0 / 0.492 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1244, allocations: 0 / 0.492 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1246, allocations: 204.5 kB / 0.4922 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1246, allocations: 0 / 0.4922 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.1247, allocations: 23.92 kB / 0.4922 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1247, allocations: 0 / 0.4922 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1248, allocations: 4 kB / 0.4922 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1248, allocations: 4 kB / 0.4922 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1248, allocations: 0 / 0.4922 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.1259, allocations: 0.5844 MB / 0.4928 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.1259, allocations: 11.98 kB / 0.4928 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.126, allocations: 15.98 kB / 0.4928 GB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1261, allocations: 11.98 kB / 0.4928 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.1262, allocations: 15.98 kB / 0.4928 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.1262, allocations: 19.97 kB / 0.4928 GB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1263, allocations: 124.9 kB / 0.493 GB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1263, allocations: 3.938 kB / 0.493 GB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.1267, allocations: 95.86 kB / 0.4931 GB, free: 11.23 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.002135/0.1288, allocations: 1.277 MB / 0.4943 GB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007272/0.1295, allocations: 347.2 kB / 0.4946 GB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1295, allocations: 0 / 0.4946 GB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.1299, allocations: 227.3 kB / 0.4949 GB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.1301, allocations: 12 kB / 0.4949 GB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.1337, allocations: 2.274 MB / 0.4971 GB, free: 7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.134, allocations: 0.708 MB / 0.4978 GB, free: 6.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.1341, allocations: 20.41 kB / 0.4978 GB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.1342, allocations: 39.36 kB / 0.4978 GB, free: 6.207 MB / 366.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1342, allocations: 0 / 0.4978 GB, free: 6.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.1644, allocations: 5.101 MB / 0.5028 GB, free: 1.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.52, allocations: 0 / 0.5028 GB, free: 1.215 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_VaryingDistribution_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_VaryingDistribution.fmu > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.270598909992259] Failed to read output from testmodel.py, exit status != 0: 11.682624654960819 11.701999735 11.583803313 Calling exit ...