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.001613/0.001613, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002193/0.002193, allocations: 217.7 kB / 22.26 MB, free: 5.082 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.039 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.02844/0.02844, allocations: 3.931 MB / 316.4 MB, free: 15.35 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.002108/0.002108, allocations: 67.89 kB / 439.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.1007, allocations: 54.14 MB / 493.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.003045/0.1037, allocations: 1.553 MB / 495.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.106, allocations: 1.184 MB / 496.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.1061, allocations: 0 / 496.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1062, allocations: 23.8 kB / 496.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.1063, allocations: 11.81 kB / 496.7 MB, free: 2.969 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.0008401/0.1071, allocations: 263.2 kB / 496.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1074, allocations: 179.5 kB / 497.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.1075, allocations: 9.312 kB / 497.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1076, allocations: 59.83 kB / 497.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1077, allocations: 59.69 kB / 497.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.1077, allocations: 11.94 kB / 497.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.1082, allocations: 295.5 kB / 497.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1083, allocations: 23.92 kB / 497.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.1084, allocations: 51.72 kB / 497.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.1088, allocations: 291 kB / 497.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1088, allocations: 0 / 497.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1088, allocations: 4 kB / 497.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1088, allocations: 0 / 497.9 MB, free: 1.742 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.001736/0.1106, allocations: 1.274 MB / 499.2 MB, free: 440 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1106, allocations: 8.031 kB / 499.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.1107, allocations: 38.75 kB / 499.2 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.111, allocations: 51.53 kB / 499.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1113, allocations: 163 kB / 499.4 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1113, allocations: 12.38 kB / 499.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1113, allocations: 4.375 kB / 499.4 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.1117, allocations: 161.8 kB / 499.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1117, allocations: 0 / 499.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.1118, allocations: 12 kB / 499.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.1118, allocations: 0 / 499.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.1121, allocations: 135.8 kB / 499.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005832/0.1127, allocations: 335.7 kB / 0.4883 GB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.1131, allocations: 150.4 kB / 0.4885 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.1134, allocations: 124.8 kB / 0.4886 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1134, allocations: 0 / 0.4886 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.1138, allocations: 296.4 kB / 0.4889 GB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1138, allocations: 0 / 0.4889 GB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001054/0.1149, allocations: 493.4 kB / 0.4894 GB, free: 14.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.115, allocations: 97.2 kB / 0.4895 GB, free: 14.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1152, allocations: 164.2 kB / 0.4896 GB, free: 14.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1152, allocations: 25.7 kB / 0.4896 GB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.1153, allocations: 104.4 kB / 0.4897 GB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1154, allocations: 35.7 kB / 0.4898 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.1154, allocations: 45.69 kB / 0.4898 GB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1156, allocations: 330.8 kB / 0.4901 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.1158, allocations: 95.94 kB / 0.4902 GB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1161, allocations: 93.62 kB / 0.4903 GB, free: 13.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.1166, allocations: 274.2 kB / 0.4906 GB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1166, allocations: 4 kB / 0.4906 GB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006215/0.1172, allocations: 311 kB / 0.4909 GB, free: 12.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.1173, allocations: 49.69 kB / 0.4909 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1173, allocations: 0 / 0.4909 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1173, allocations: 0 / 0.4909 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1174, allocations: 23.98 kB / 0.4909 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1174, allocations: 3.984 kB / 0.4909 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1176, allocations: 19.89 kB / 0.491 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.1176, allocations: 23.97 kB / 0.491 GB, free: 12.6 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.0001957/0.1178, allocations: 203.2 kB / 0.4912 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.1179, allocations: 19.91 kB / 0.4912 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.1179, allocations: 9.469 kB / 0.4912 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1179, allocations: 4 kB / 0.4912 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1179, allocations: 0 / 0.4912 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1179, allocations: 0 / 0.4912 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1181, allocations: 200.5 kB / 0.4914 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1181, allocations: 4 kB / 0.4914 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1182, allocations: 15.98 kB / 0.4914 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1182, allocations: 0 / 0.4914 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1183, allocations: 4 kB / 0.4914 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1183, allocations: 4 kB / 0.4914 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1183, allocations: 0 / 0.4914 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1194, allocations: 0.589 MB / 0.492 GB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.1194, allocations: 8.109 kB / 0.492 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.1194, allocations: 19.98 kB / 0.492 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1195, allocations: 11.98 kB / 0.492 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1196, allocations: 19.97 kB / 0.4921 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.1197, allocations: 19.97 kB / 0.4921 GB, free: 11.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1198, allocations: 124.9 kB / 0.4922 GB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1198, allocations: 4.062 kB / 0.4922 GB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.1201, allocations: 91.8 kB / 0.4923 GB, free: 11.18 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.001957/0.1221, allocations: 1.281 MB / 0.4935 GB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.1228, allocations: 343.2 kB / 0.4939 GB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1228, allocations: 0 / 0.4939 GB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.1231, allocations: 223.3 kB / 0.4941 GB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1233, allocations: 16 kB / 0.4941 GB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.1267, allocations: 2.277 MB / 0.4963 GB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.127, allocations: 0.708 MB / 0.497 GB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.1271, allocations: 20.41 kB / 0.497 GB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.1272, allocations: 39.36 kB / 0.4971 GB, free: 6.152 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1272, allocations: 0 / 0.4971 GB, free: 6.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.1606, allocations: 5.064 MB / 0.502 GB, free: 1.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.47, allocations: 2.922 kB / 0.502 GB, free: 1.203 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 sys.exit(0), Time elapsed: 14.162028095917776] Failed to read output from testmodel.py, exit status != 0: 11.58289679698646 11.612095594 11.498160754 Calling exit ...