Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.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.001475/0.001475, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 13.93 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.001937/0.001937, allocations: 211.6 kB / 22.99 MB, free: 2.961 MB / 13.93 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.041/1.041, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.04767/0.04767, allocations: 9.55 MB / 322.7 MB, free: 8.492 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.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(ChaoticCircuits.RikitakeSystem.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit") translateModel(ChaoticCircuits.RikitakeSystem.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit") [Timeout 660] "Notification: ChaoticCircuits 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.001891/0.001891, allocations: 75.89 kB / 449.1 MB, free: 37.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09195, allocations: 55.78 MB / 0.4931 GB, free: 14.1 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.IdealCircuit): time 0.00529/0.09724, allocations: 6.558 MB / 0.4995 GB, free: 7.504 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.09886, allocations: 1.643 MB / 0.5011 GB, free: 5.855 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.09916, allocations: 35.88 kB / 0.5011 GB, free: 5.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.09954, allocations: 257.5 kB / 0.5014 GB, free: 5.566 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.09997, allocations: 388.5 kB / 0.5017 GB, free: 5.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.1005, allocations: 391.5 kB / 0.5021 GB, free: 4.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009418/0.1014, allocations: 1.636 MB / 0.5037 GB, free: 3.152 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.102, allocations: 0.5567 MB / 0.5042 GB, free: 2.562 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.1023, allocations: 0.6385 MB / 0.5049 GB, free: 1.922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.1028, allocations: 0.5984 MB / 0.5054 GB, free: 1.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003778/0.1032, allocations: 168 kB / 0.5056 GB, free: 1.156 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1033, allocations: 164 kB / 0.5058 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1035, allocations: 358.8 kB / 0.5061 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.1038, allocations: 0.6339 MB / 0.5067 GB, free: 8 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1049, allocations: 1.794 MB / 0.5085 GB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1049, allocations: 0 / 0.5085 GB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1049, allocations: 0 / 0.5085 GB, free: 14.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1049, allocations: 0 / 0.5085 GB, free: 14.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00161/0.1065, allocations: 1.652 MB / 0.5101 GB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1066, allocations: 8.031 kB / 0.5101 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1067, allocations: 171.9 kB / 0.5103 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.1073, allocations: 0.5889 MB / 0.5108 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.1074, allocations: 103.2 kB / 0.5109 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1075, allocations: 143.9 kB / 0.5111 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.1091, allocations: 1.888 MB / 0.5129 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1091, allocations: 0 / 0.5129 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.1092, allocations: 64 kB / 0.513 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.1092, allocations: 40 kB / 0.513 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1103, allocations: 0.9282 MB / 0.5139 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.1142, allocations: 4.282 MB / 0.5181 GB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.1148, allocations: 0.5273 MB / 0.5186 GB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.1151, allocations: 218.3 kB / 0.5188 GB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.1151, allocations: 16.48 kB / 0.5188 GB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1152, allocations: 39.06 kB / 0.5189 GB, free: 3.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.704e-06/0.1152, allocations: 0 / 0.5189 GB, free: 3.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.0009056/0.1161, allocations: 0.6138 MB / 0.5195 GB, free: 2.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.1162, allocations: 226 kB / 0.5197 GB, free: 2.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.1167, allocations: 0.7267 MB / 0.5204 GB, free: 1.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.1167, allocations: 45.64 kB / 0.5204 GB, free: 1.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.117, allocations: 0.7174 MB / 0.5211 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.996e-05/0.1171, allocations: 222.2 kB / 0.5214 GB, free: 424 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1173, allocations: 198.8 kB / 0.5215 GB, free: 220 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1174, allocations: 390.8 kB / 0.5219 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.1177, allocations: 238.5 kB / 0.5221 GB, free: 15.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.1181, allocations: 0.7912 MB / 0.5229 GB, free: 14.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.1188, allocations: 0.8701 MB / 0.5238 GB, free: 13.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1188, allocations: 4 kB / 0.5238 GB, free: 13.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0009414/0.1198, allocations: 0.9503 MB / 0.5247 GB, free: 12.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1198, allocations: 12 kB / 0.5247 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.1198, allocations: 16.12 kB / 0.5247 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1198, allocations: 19.94 kB / 0.5247 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.1203, allocations: 255.6 kB / 0.525 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.1203, allocations: 31.86 kB / 0.525 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.1207, allocations: 155.1 kB / 0.5252 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.1208, allocations: 52 kB / 0.5252 GB, free: 12.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (multiplier_x1x2.limiter2.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 136 * 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 0.0002755/0.121, allocations: 287.2 kB / 0.5255 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.1211, allocations: 87.47 kB / 0.5256 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.1212, allocations: 83.53 kB / 0.5257 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1212, allocations: 8 kB / 0.5257 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1212, allocations: 3.938 kB / 0.5257 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1212, allocations: 3.984 kB / 0.5257 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1225, allocations: 1.176 MB / 0.5268 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1225, allocations: 4.062 kB / 0.5268 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1227, allocations: 131.9 kB / 0.527 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1227, allocations: 7.938 kB / 0.527 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1228, allocations: 12 kB / 0.527 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1228, allocations: 4 kB / 0.527 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1228, allocations: 0 / 0.527 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.1235, allocations: 0.8239 MB / 0.5278 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.1237, allocations: 139.2 kB / 0.5279 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.1237, allocations: 23.88 kB / 0.5279 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.124, allocations: 95.91 kB / 0.528 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.1241, allocations: 52.5 kB / 0.5281 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.1241, allocations: 23.98 kB / 0.5281 GB, free: 9.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003464/0.1245, allocations: 471 kB / 0.5285 GB, free: 8.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1245, allocations: 0 / 0.5285 GB, free: 8.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.1249, allocations: 339 kB / 0.5289 GB, free: 8.227 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (c_x1.v,c_x2.v,c_z.v) * Number of discrete variables: 12 (multiplier_x2z.limiter1.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 62 * 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 9.827e-05/0.125, allocations: 128.9 kB / 0.529 GB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006015/0.1256, allocations: 0.576 MB / 0.5296 GB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1256, allocations: 8.125 kB / 0.5296 GB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1258, allocations: 226.7 kB / 0.5298 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1262, allocations: 132.2 kB / 0.5299 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1281, allocations: 1.922 MB / 0.5318 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1284, allocations: 482.6 kB / 0.5322 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1286, allocations: 79.42 kB / 0.5323 GB, free: 4.609 MB / 394.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1286, allocations: 0 / 0.5323 GB, free: 4.609 MB / 394.7 MB Notification: Performance of Templates: time 0.01008/0.1386, allocations: 12.58 MB / 0.5446 GB, free: 8.066 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.530684024095535]