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.0007516/0.0007516, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009002/0.0009002, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9634/0.9634, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.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.02613/0.02613, allocations: 7.114 MB / 268.2 MB, free: 5.898 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 339.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.363e-05, allocations: 5.406 kB / 339.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.IdealCircuit): time 0.004685/0.004709, allocations: 7.174 MB / 346.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.007522, allocations: 1.663 MB / 348.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006689/0.008191, allocations: 35.88 kB / 348.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.00863, allocations: 253.5 kB / 348.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.009299, allocations: 416.2 kB / 349 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.009889, allocations: 395.3 kB / 349.4 MB, free: 440 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01119, allocations: 1.691 MB / 351.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.01183, allocations: 0.5528 MB / 351.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008629/0.01269, allocations: 0.963 MB / 352.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.0132, allocations: 0.5296 MB / 353.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.01338, allocations: 168 kB / 353.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.01355, allocations: 164 kB / 353.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.01375, allocations: 370.6 kB / 353.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.01413, allocations: 0.5417 MB / 354.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.01499, allocations: 1.117 MB / 355.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01499, allocations: 0 / 355.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01499, allocations: 0 / 355.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.01501, allocations: 0 / 355.5 MB, free: 10.3 MB / 282.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.00169/0.0167, allocations: 1.764 MB / 357.3 MB, free: 8.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.01673, allocations: 8.031 kB / 357.3 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.01697, allocations: 287.9 kB / 357.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.01754, allocations: 0.5715 MB / 358.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.0176, allocations: 111.2 kB / 358.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.01772, allocations: 148.4 kB / 358.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.01879, allocations: 1.526 MB / 359.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.01881, allocations: 0 / 359.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.01888, allocations: 64 kB / 360 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.0189, allocations: 32 kB / 360 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.01936, allocations: 422.7 kB / 360.4 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.02338, allocations: 4.563 MB / 365 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.02382, allocations: 373.3 kB / 365.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.02399, allocations: 133.1 kB / 365.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.02402, allocations: 13.16 kB / 365.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.02405, allocations: 49.97 kB / 365.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 2.004e-06/0.02405, allocations: 0 / 365.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=62): time 0.0004858/0.02454, allocations: 424.5 kB / 366 MB, free: 15.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.02461, allocations: 214.1 kB / 366.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.02504, allocations: 0.6976 MB / 366.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.02507, allocations: 41.7 kB / 366.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.02539, allocations: 0.7747 MB / 367.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.0255, allocations: 206.2 kB / 367.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.02567, allocations: 220.3 kB / 368.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.02583, allocations: 0.5662 MB / 368.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.02595, allocations: 98.53 kB / 368.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.02637, allocations: 0.8384 MB / 369.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.0269, allocations: 0.8031 MB / 370.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.02691, allocations: 4 kB / 370.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0006915/0.0276, allocations: 0.7432 MB / 371.1 MB, free: 9.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.02762, allocations: 8 kB / 371.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.02763, allocations: 12 kB / 371.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.02765, allocations: 20 kB / 371.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.0281, allocations: 251.6 kB / 371.4 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.02812, allocations: 23.94 kB / 371.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.0285, allocations: 143.2 kB / 371.6 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.02854, allocations: 47.94 kB / 371.6 MB, free: 8.973 MB / 298.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.0002153/0.02876, allocations: 234.2 kB / 371.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.02885, allocations: 107.5 kB / 372 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/0.02894, allocations: 91.53 kB / 372.1 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02895, allocations: 8 kB / 372.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02895, allocations: 0 / 372.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.02895, allocations: 3.984 kB / 372.1 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.02982, allocations: 0.9309 MB / 373 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02982, allocations: 0 / 373 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.0301, allocations: 127.8 kB / 373.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.0301, allocations: 4 kB / 373.1 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.03012, allocations: 15.94 kB / 373.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.03013, allocations: 7.984 kB / 373.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.03013, allocations: 3.984 kB / 373.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.03066, allocations: 0.6226 MB / 373.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.03081, allocations: 135.3 kB / 373.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.03087, allocations: 12 kB / 373.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.03114, allocations: 79.94 kB / 374 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.03122, allocations: 56.34 kB / 374.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.03124, allocations: 16 kB / 374.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.03147, allocations: 410.8 kB / 374.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03147, allocations: 0 / 374.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005889/0.03206, allocations: 335 kB / 374.8 MB, free: 5.727 MB / 298.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 0.000119/0.03218, allocations: 125.1 kB / 374.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.03259, allocations: 432.6 kB / 375.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.03259, allocations: 8.125 kB / 375.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.03273, allocations: 163.4 kB / 375.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.03316, allocations: 131 kB / 375.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.03519, allocations: 1.797 MB / 377.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.03549, allocations: 482.5 kB / 377.9 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.03592, allocations: 318.1 kB / 378.2 MB, free: 2.199 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03592, allocations: 7.938 kB / 378.2 MB, free: 2.191 MB / 298.7 MB Notification: Performance of Templates: time 0.01137/0.04729, allocations: 12.57 MB / 390.8 MB, free: 5.656 MB / 314.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: 3.9176293779164553]